Dokumentace HotXLS

Vlastnost Orientation

Orientace textu. Může být celočíselná hodnota od -90 do 90 stupňů nebo konstanta xlOrientation. Čtení/zápis OleVariant

Syntaxe

property Orientation: OleVariant;

Příklad

Tento příklad nastaví vlastnost orientation pro slouč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;