Skip to main content
A newer version of this page is available. .

DiagramControl.GetViewportBounds() Method

Returns the bounds of the currently visible area.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Diagram, 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