LineLabelShape::ConstrainLabelSize Method (SizeD)

 

Called to constrain the automatically calculated size of the label. The default implementation has no constraint.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual SizeD ConstrainLabelSize(
	SizeD proposedSize
) override

Parameters

proposedSize
Type: Microsoft.VisualStudio.Modeling.Diagrams::SizeD

Size we wish to make the label.

Return to top
Show: