Portrait or landscape printing mode. Read/write
Sözdizimi
property Orientation: LongWord;
Açıklama
Orientation can be one of these XlPageOrientation constants: xlPortrait, xlLandscape
Örnek
This example sets the first sheet to be printed in landscape orientation
Workbook.Worksheets[1].PageSetup.Orientation := xlLandscape;