ShapeSubField.GetBounds Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public MustOverride Function GetBounds ( _
    parentShape As ShapeElement, _
    parentField As ShapeField _
) As RectangleD
'使用
Dim instance As ShapeSubField
Dim parentShape As ShapeElement
Dim parentField As ShapeField
Dim returnValue As RectangleD

returnValue = instance.GetBounds(parentShape, _
    parentField)
public abstract RectangleD GetBounds(
    ShapeElement parentShape,
    ShapeField parentField
)
public:
virtual RectangleD GetBounds(
    ShapeElement^ parentShape, 
    ShapeField^ parentField
) abstract
public abstract function GetBounds(
    parentShape : ShapeElement, 
    parentField : ShapeField
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Permissions

See Also

Reference

ShapeSubField Class

ShapeSubField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace