Search
Diagram.Viewport Property
See Also
 





Returns the visible portion of the diagram area.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Rect Viewport { get; }

Visual Basic  Copy Code

Public ReadOnly Property Viewport As Rect

 Property Value

A System.Windows.Rect structure specifying the visible diagram area in MeasureUnit units.

 Remarks

This property returns the viewport of the diagram's parent ScrollViewer, converted to logical coordinates that reflect the current MeasureUnit and ZoomFactor.

 See Also