Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Automatically sizes this LabelShape based on the text that's passed in. Must be in a transaction to call this method because it updates shape bounds.
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 Overrides Sub AutoSizeLabel ( _
labelText As String _
)
protected override void AutoSizeLabel(
string labelText
)
protected:
virtual void AutoSizeLabel(
String^ labelText
) override
abstract AutoSizeLabel :
labelText:string -> unit
override AutoSizeLabel :
labelText:string -> unit
protected override function AutoSizeLabel(
labelText : String
)
Parameters
- labelText
Type: String
.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.