[]
        
(Showing Draft Content)

GC.Spread.Sheets.Print.PrintPageOrientation

Enumeration: PrintPageOrientation

Sheets.Print.PrintPageOrientation

Specifies the page orientation used for printing.

example

var printInfo = new GC.Spread.Sheets.Print.PrintInfo();
printInfo.bestFitColumns(true);
printInfo.orientation(GC.Spread.Sheets.Print.PrintPageOrientation.landscape);
printInfo.pageHeaderFooter({
     normal: {
         footer: {
             center: "SpreadJS"
         }
     }
});
activeSheet.printInfo(printInfo);
spread.print(0);

Table of contents

Enumeration members

Enumeration members

landscape

landscape = 2

Prints landscape orientation.


portrait

portrait = 1

Prints portrait orientation.