Partilhar via


LabelShape.AutoSizeLabel Method (String)

Resizes the label shape automatically.

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

Syntax

'Declaração
Protected Overridable Sub AutoSizeLabel ( _
    labelText As String _
)
protected virtual void AutoSizeLabel(
    string labelText
)
protected:
virtual void AutoSizeLabel(
    String^ labelText
)
abstract AutoSizeLabel : 
        labelText:string -> unit 
override AutoSizeLabel : 
        labelText:string -> unit 
protected function AutoSizeLabel(
    labelText : String
)

Parameters

Remarks

This method can be called only from a transaction.

.NET Framework Security

See Also

Reference

LabelShape Class

AutoSizeLabel Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace