共用方式為


ImageField.GetMinimumSize(ShapeElement) Method

Definition

Returns the minimum size of the ImageField.

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

Returns

Remarks

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.

Applies to