共用方式為


ShapeElement.AbsoluteBoundingBox Property

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