Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'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: System.String
The 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.