Skip to main content

DiagramControl.GetViewportBounds() Method

Returns the bounds of the currently visible area.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v22.2.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public Rect GetViewportBounds()

Returns

Type Description
Rect

A System.Windows.Rect object that represents the viewport bounds in diagram coordinates.

See Also