Docs HotXLS

WrapText-property

True if the text are wrapped. Read/write OleVariant

Syntaxe

property WrapText: OleVariant;

Remarques

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

Exemple

This example formats cell B2 on sheet one so that the text wraps within the cell

With Workbook.Sheets[1].Range['B2', 'B2'] do begin
  Value := 'This text should wrap in a cell';
  WrapText := true;
end;