[]
Specifics the type of centering for the printed page.
example
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
Centers the printed layout both horizontally and vertically on the page.
• horizontal = 1
Centers the printed layout horizontally on the page.
• none = 0
Does not center the printed page at all.
• vertical = 2
Centers the printed layout vertically on the page.