[]
        
(Showing Draft Content)

GC.Spread.Sheets.Print.PrintCentering

Enumeration: PrintCentering

Sheets.Print.PrintCentering

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);

Table of contents

Enumeration members

Enumeration members

both

both = 3

Centers the printed layout both horizontally and vertically on the page.


horizontal

horizontal = 1

Centers the printed layout horizontally on the page.


none

none = 0

Does not center the printed page at all.


vertical

vertical = 2

Centers the printed layout vertically on the page.