Documentazione HotXLS

Proprietà WrapText

True se il testo va a capo automaticamente. Lettura/scrittura OleVariant

Sintassi

property WrapText: OleVariant;

Note

Questo esempio formatta la cella B2 del foglio uno in modo che il testo vada a capo all'interno della cella

Esempio

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;