Delen via


ListItemSubField.GetBounds Method

Returns the bounds in world coordinates relative to the top-left of the parent shape.

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 Overrides Function GetBounds ( _
    parentShape As ShapeElement, _
    parentField As ShapeField _
) As RectangleD
public override RectangleD GetBounds(
    ShapeElement parentShape,
    ShapeField parentField
)
public:
virtual RectangleD GetBounds(
    ShapeElement^ parentShape, 
    ShapeField^ parentField
) override
abstract GetBounds : 
        parentShape:ShapeElement * 
        parentField:ShapeField -> RectangleD  
override GetBounds : 
        parentShape:ShapeElement * 
        parentField:ShapeField -> RectangleD
public override function GetBounds(
    parentShape : ShapeElement, 
    parentField : ShapeField
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

ListItemSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace