All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramControl.GetViewportBounds() Method

Returns the bounds of the currently visible area.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public Rect GetViewportBounds()
Public Function GetViewportBounds As Rect

Returns

Type Description
Rect

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

See Also