ShapeField.GetMinimumSize Method (ShapeElement)

 

Gets the minimum width and height for the shape field.

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

public virtual SizeD GetMinimumSize(
	ShapeElement parentShape
)

Parameters

parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement

The shape element to which the shape field is assigned.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD

The minimum width and height for the shape field.

Return to top
Show: