編輯

共用方式為


Range.WrapText Property

Definition

Determines if Microsoft Excel wraps the text in the object.

public:
 property System::Object ^ WrapText { System::Object ^ get(); void set(System::Object ^ value); };
public object WrapText { get; set; }
Public Property WrapText As Object

Property Value

Remarks

This property returns True if Microsoft Excel wraps the text in the object and Null if the specified range contains some cells that wrap text and other cells that don’t.

Microsoft Excel will change the row height of the range, if necessary, to accommodate the text in the range.

Applies to