LineLabelShape.ConstrainLabelSize Method
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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Overrides Function ConstrainLabelSize ( _
proposedSize As SizeD _
) As SizeD
protected override SizeD ConstrainLabelSize(
SizeD proposedSize
)
protected:
virtual SizeD ConstrainLabelSize(
SizeD proposedSize
) override
abstract ConstrainLabelSize :
proposedSize:SizeD -> SizeD
override ConstrainLabelSize :
proposedSize:SizeD -> SizeD
protected override function ConstrainLabelSize(
proposedSize : SizeD
) : SizeD
Parameters
- proposedSize
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Size we wish to make the label.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.