Partilhar via


LineLabelShape.AutoSizeLabel(String) Method

Definition

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.

protected:
 override void AutoSizeLabel(System::String ^ labelText);
protected override void AutoSizeLabel (string labelText);
override this.AutoSizeLabel : string -> unit
Protected Overrides Sub AutoSizeLabel (labelText As String)

Parameters

labelText
String

Applies to