LabelShape::ConstrainLabelSize Method (SizeD)
Visual Studio 2015
Limits the maximum size of the label shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- proposedSize
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::SizeD
The proposed size of the label shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::SizeDThe label shape size. If the proposed size is larger than the maximum size, the maximum size is returned.
By default, a maximum limit is not used to verify the size of label shapes.
Show: