HotXLS 문서

Orientation 속성

텍스트 방향입니다. -90~90도 사이의 정수 값 또는 xlVertical일 수 있습니다. 읽기/쓰기 OleVariant

구문

property Orientation: OleVariant;

예제

이 예제는 병합 범위 A1:A5 및 B1:B5의 Orientation 속성을 설정합니다

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;