Link Search Menu Expand Document

SSpread.TypeTextWordWrap Property

Set whether to word wrap the text in the label cell.

Only valid for cells with the CellType property set to $ CellTypeTime . Before setting this property, use the Col , Row properties, and so on to specify what to do.

Specify $TRUE for word wrap, and $FALSE otherwise . The initial value is $FALSE .(In the cells of column header and row header, the initial value is $TRUE).

If you set word wrap, text that exceeds the width of the cell will automatically break.

This property is subject to property inheritance for label cells .

Notes on property inheritance of label type cells

Example of use

Col = 3;
Row = 2;
CellType = $CellTypeStaticText;
TypeTextWordWrap = $TRUE;
Text = "this is a book. this is a pen.";
 
BlockMode = $TRUE;
Col = 3;
Row = 3;
Col2 = 5;
Row2 = 5;
CellType = $CellTypeStaticText;
TypeTextWordWrap = $TRUE;
Text = "あいうえお\nかきくけこ";
BlockMode = $FALSE;

Related item
CellType property