ImageField::GetMinimumSize Method (ShapeElement^)

 

Returns the minimum size of the ImageField.

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
) override

The minimum size is the size of the image to be displayed, or the minimum size specified in the AnchoringBehavior, whichever is larger. If the shape field is scaled, (GetUnscaled() returns false) then the AnchoringBehavior size is always used.

Return to top
Show: