MindFusion.Wpf Pack Programmer's Guide
DiagramView.Viewport Property
See Also
 





Returns the visible area of the diagram.

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 inside this view, converted to logical coordinates that reflect the current MeasureUnit and ZoomFactor.

 See Also

DiagramView Members
DiagramView Class
MindFusion.Diagramming.Wpf Namespace