Docs HotXLS

Orientation-property

The text orientation. Peut être une valeur Integer de - 90 à 90 degrés ou xlVertical. Lecture/écriture OleVariant

Syntaxe

property Orientation: OleVariant;

Exemple

This example sets orientation property for the merged ranges A1:A5 and 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;