SpreadJS Documentation
PrintCentering Field
GC.Spread.Sheets Namespace > Print type : PrintCentering Field
Specifics the type of centering for the printed page.
Syntax
var value; // Type: PrintCentering
value = GC.Spread.Sheets.Print.PrintCentering;
var PrintCentering : PrintCentering;
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);
See Also

Reference

Print type