Gets the viewport (the part of the scroll region which is visible).

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public Rect GetViewport()
Visual Basic (Declaration)
Public Function GetViewport As Rect

Return Value

The current viewport (in content coordinates).

See Also