Resizes the label shape automatically.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Sub AutoSizeLabel
'使用
Dim instance As LabelShape
instance.AutoSizeLabel()
public void AutoSizeLabel()
public:
void AutoSizeLabel()
public function AutoSizeLabel()
Remarks
This method can be called only from a transaction.
Permissions
- 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.