Dokumentácia HotXLS

Vlastnosť Orientation

Orientácia textu. Môže byť celočíselná hodnota od -90 do 90 stupňov alebo xlVertical. Čítanie/zápis OleVariant

Syntax

property Orientation: OleVariant;

Príklad

Tento príklad nastaví vlastnosť orientácie pre zlúčené rozsahy A1:A5 a B1:B5

With Workbook.Sheets[1].Range['A1','A5'] do begin
  Merge;
  Value := 'Text';
  Orientation := 90;
end;

With Workbook.Sheets[1].Range['B1','B5'] do begin
  Merge;
  Value := 'Vertical';
  Orientation := xlVertical;
end;