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
声明
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.