LineLabelShape.ConstrainLabelSize(SizeD) 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.
Called to constrain the automatically calculated size of the label. The default implementation has no constraint.
protected:
override Microsoft::VisualStudio::Modeling::Diagrams::SizeD ConstrainLabelSize(Microsoft::VisualStudio::Modeling::Diagrams::SizeD proposedSize);
protected override Microsoft.VisualStudio.Modeling.Diagrams.SizeD ConstrainLabelSize (Microsoft.VisualStudio.Modeling.Diagrams.SizeD proposedSize);
override this.ConstrainLabelSize : Microsoft.VisualStudio.Modeling.Diagrams.SizeD -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Protected Overrides Function ConstrainLabelSize (proposedSize As SizeD) As SizeD
Parameters
- proposedSize
- SizeD
Size we wish to make the label.
Returns
SizeD with the constrained size.