Returns the visible portion of the diagram area.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Rect Viewport { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property Viewport As Rect |
A System.Windows.Rect structure specifying the visible diagram area in MeasureUnit units.
This property returns the viewport of the diagram's parent ScrollViewer, converted to logical coordinates that reflect the current MeasureUnit and ZoomFactor.
WpfDiagram Programmer's Guide | © 2023 MindFusion |