HotXLS-dokumentasjon

Orientation egenskap

Portrait or landscape printing mode. Read/write

Syntaks

property Orientation: LongWord;

Beskrivelse

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

Eksempel

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

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