共用方式為


ShapeElement.AbsoluteBoundingBox Property

The bounding rectangle, measured relative to 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 MustOverride ReadOnly Property AbsoluteBoundingBox As RectangleD
public abstract RectangleD AbsoluteBoundingBox { get; }
public:
virtual property RectangleD AbsoluteBoundingBox {
    RectangleD get () abstract;
}
abstract AbsoluteBoundingBox : RectangleD with get
abstract function get AbsoluteBoundingBox () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Remarks

The coordinate system increases down and to the right.

To get the position relative to the parent shape, use BoundingBox

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

ParentShape

Diagram

BoundingBox