Udostępnij za pośrednictwem


LabelShape.AutoSizeLabel Method

Definition

Overloads

AutoSizeLabel()

Automatically sizes this LabelShape. Must be in a transaction to call this method because it updates shape bounds.

AutoSizeLabel(String)

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.

AutoSizeLabel()

Automatically sizes this LabelShape. Must be in a transaction to call this method because it updates shape bounds.

public:
 void AutoSizeLabel();
public void AutoSizeLabel ();
member this.AutoSizeLabel : unit -> unit
Public Sub AutoSizeLabel ()

Applies to

AutoSizeLabel(String)

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:
 virtual void AutoSizeLabel(System::String ^ labelText);
protected virtual void AutoSizeLabel (string labelText);
abstract member AutoSizeLabel : string -> unit
override this.AutoSizeLabel : string -> unit
Protected Overridable Sub AutoSizeLabel (labelText As String)

Parameters

labelText
String

text to size the LabelShape to fit.

Applies to