Search
DiagramView.Viewport Property
See Also
 





Returns the visible area of the diagram.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

public Rect Viewport { get; }

Visual Basic  Copy Code

Public ReadOnly Property Viewport As Rect

 Property Value

An Avalonia.Rect structure specifying the visible diagram area in MeasureUnit units.

 Remarks

This property returns the viewport of the diagram inside this view, converted to logical coordinates that reflect the current MeasureUnit and ZoomFactor.

 See Also