Share via


LabelShape.AutoSizeLabel Method

Resizes the label shape automatically.

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

Syntax

'Declaration
Public Sub AutoSizeLabel
public void AutoSizeLabel()
public:
void AutoSizeLabel()
member AutoSizeLabel : unit -> unit
public function AutoSizeLabel()

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