ListField.GetBounds Method
Gets the bounds of this ShapeField in world units relative to the top-left of the parent shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
Public Overrides Function GetBounds ( _
parentShape As ShapeElement _
) As RectangleD
public override RectangleD GetBounds(
ShapeElement parentShape
)
public:
virtual RectangleD GetBounds(
ShapeElement^ parentShape
) override
abstract GetBounds :
parentShape:ShapeElement -> RectangleD
override GetBounds :
parentShape:ShapeElement -> RectangleD
public override function GetBounds(
parentShape : ShapeElement
) : RectangleD
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent shape of this field.
Return 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.