Sdílet prostřednictvím


TextField.GetMinimumSize(ShapeElement) Method

Definition

Gets the minimum width and heightfor this ShapeField in world units

public:
 override Microsoft::VisualStudio::Modeling::Diagrams::SizeD GetMinimumSize(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public override Microsoft.VisualStudio.Modeling.Diagrams.SizeD GetMinimumSize (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
override this.GetMinimumSize : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Overrides Function GetMinimumSize (parentShape As ShapeElement) As SizeD

Parameters

parentShape
ShapeElement

The ShapeElement instance

Returns

The minimum size for this ShapeField in world units

Applies to