ShapeField.GetMinimumSize Method

Gets the minimum width and height for the shape field.

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

Syntax

'Declaration
Public Overridable Function GetMinimumSize ( _
    parentShape As ShapeElement _
) As SizeD
public virtual SizeD GetMinimumSize(
    ShapeElement parentShape
)
public:
virtual SizeD GetMinimumSize(
    ShapeElement^ parentShape
)
abstract GetMinimumSize : 
        parentShape:ShapeElement -> SizeD  
override GetMinimumSize : 
        parentShape:ShapeElement -> SizeD
public function GetMinimumSize(
    parentShape : ShapeElement
) : SizeD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The minimum width and height for the shape field.

.NET Framework Security

See Also

Reference

ShapeField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace