Docs HotXLS

Orientation-property

Portrait or landscape printing mode. Read/write

Syntaxe

property Orientation: LongWord;

Description

L'orientation peut être l'une des constantes XlPageOrientation suivantes : xlPortrait, xlLandscape

Exemple

Cet exemple définit l'orientation paysage pour l'impression de la première feuille

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