[]
详细说明打印页面的居中类型
代码示例
var printInfo = new GC.Spread.Sheets.Print.PrintInfo();
printInfo.columnStart(0);
printInfo.columnEnd(2);
printInfo.centering(GC.Spread.Sheets.Print.PrintCentering.horizontal);
activeSheet.printInfo(printInfo);
spread.print(0);
• both = 3
将打印的布局在页面上水平和垂直居中
• horizontal = 1
将打印的布局在页面上水平居中
• none = 0
不使打印页面居中
• vertical = 2
将打印的布局在页面上垂直居中