Delen via


DiagramClientView.ViewBounds Property

Gets the bounds of the viewport in world units relative to the top-left of the Diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property ViewBounds As RectangleD
public RectangleD ViewBounds { get; }
public:
property RectangleD ViewBounds {
    RectangleD get ();
}
member ViewBounds : RectangleD with get
function get ViewBounds () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace