GetMinimumSize Method
TOC
Collapse the table of content
Expand the table of content

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)

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.

Show:
© 2016 Microsoft