Portrait or landscape printing mode. Read/write
Σύνταξη
property Orientation: LongWord;
Περιγραφή
Orientation can be one of these XlPageOrientation constants: xlPortrait, xlLandscape
Παράδειγμα
This example sets the first sheet to be printed in landscape orientation
Workbook.Worksheets[1].PageSetup.Orientation := xlLandscape;