Zooms and scrolls the view to fit the specified document rectangle in the viewport.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
SyntaxC#
Copy Code
|
|---|
public void ZoomToRect ( |
Visual Basic
Copy Code
|
|---|
Public Sub ZoomToRect( _ |
RemarksThe scroll position and zoom factor of the DiagramView are set so that specified rectangular area of the diagram is entirely visible in the viewport.
See Also