ImageField.GetMinimumSize(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.