LabelShape.AutoSizeLabel Method (String)
Resizes the label shape automatically.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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
labelText
Type: StringThe text for the label.
Remarks
This method can be called only from a transaction.
.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.