編輯

共用方式為


Legend.TextWrapThreshold Property

Definition

Gets or sets the number of characters that can be sequentially displayed in the legend before the text is wrapped.

public:
 property int TextWrapThreshold { int get(); void set(int value); };
public int TextWrapThreshold { get; set; }
member this.TextWrapThreshold : int with get, set
Public Property TextWrapThreshold As Integer

Property Value

An integer value that represents the number of characters that can be placed in the legend sequentially before the text is wrapped. The default value is 25.

Remarks

When the legend text exceeds the value specified by this property, text will be automatically wrapped when the next white-space character is encountered. Text will not be wrapped if there are no white-space characters in the text.

Set the TextWrapThreshold property to zero to disable the feature.

Applies to