Partager 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property ViewBounds As RectangleD
    Get
public RectangleD ViewBounds { get; }
public:
property RectangleD ViewBounds {
    RectangleD get ();
}
member ViewBounds : RectangleD
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