Dokumentacija HotXLS

Orientation svojstvo

Portrait or landscape printing mode. Read/write

Sintaksa

property Orientation: LongWord;

Opis

Orientation can be one of these XlPageOrientation constants: xlPortrait, xlLandscape

Primjer

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

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