Documentazione HotXLS

Orientation proprietà

Portrait o landscape printing mode. Read/write

Sintassi

proprietà Orientation: LongWord;

Descrizione

Orientation può essere una di queste costanti XlPageOrientation: xlPortrait, xlLandscape

Esempio

This example sets the first sheet to be printed in landscape orientation

Workbook.Worksheets[1].PageSetup.Orientation := xlLandscape;