Skip to main content
All docs
V25.1
  • DiagramControl.GetViewportBounds() Method

    Returns the bounds of the currently visible area.

    Namespace: DevExpress.Xpf.Diagram

    Assembly: DevExpress.Xpf.Diagram.v25.1.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