[]
        
(Showing Draft Content)

GC.Spread.Sheets.Print.PrintPageOrientation

枚举: PrintPageOrientation

Sheets.Print.PrintPageOrientation

用于打印的页面方向

代码示例

activeSheet.setArray(0, 0, [['Title 1', 'Title 2'], [1, 2], [3, 4]]);
var printInfo = new GC.Spread.Sheets.Print.PrintInfo();
// Specify the page orientation for printing.
printInfo.orientation(GC.Spread.Sheets.Print.PrintPageOrientation.landscape);
activeSheet.printInfo(printInfo);
spread.print(0);

Table of contents

枚举值成员

枚举值成员

landscape

landscape = 2

横向打印


portrait

portrait = 1

纵向打印