SpreadJS Documentation
GC.Spread.Sheets Namespace / Print type / PrintCentering Field
In This Topic
    PrintCentering Field
    In This Topic
    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