Hochformat- oder Querformat-Druckmodus. Lesen/Schreiben
Syntax
property Orientation: LongWord;
Beschreibung
Orientation kann einer dieser XlPageOrientation-Konstanten entsprechen: xlPortrait, xlLandscape
Beispiel
Dieses Beispiel legt fest, dass das erste Blatt im Querformat gedruckt wird
Workbook.Worksheets[1].PageSetup.Orientation := xlLandscape;