Spread.Sheets Documentation
PaperKind Enumeration
Specifies the paper kind for the printed page.
Members
MemberDescription
a2Specifies the paper size is 420 mm * 594 mm.
a3Specifies the paper size is 297 mm * 420 mm.
a3ExtraSpecifies the paper size is 322 mm * 445 mm.
a3ExtraTransverseSpecifies the paper size is 322 mm * 445 mm.
a3RotatedSpecifies the paper size is 420 mm * 297 mm.
a3TransverseSpecifies the paper size is 297 mm * 420 mm.
a4Specifies the paper size is 210 mm * 297 mm.
a4ExtraSpecifies the paper size is 236 mm * 322 mm.
a4PlusSpecifies the paper size is 210 mm * 330 mm.
a4RotatedSpecifies the paper size is 297 mm * 210 mm.
a4SmallSpecifies the paper size is 210 mm * 297 mm.
a4TransverseSpecifies the paper size is 210 mm * 297 mm.
a5Specifies the paper size is 148 mm * 210 mm.
a5ExtraSpecifies the paper size is 174 mm * 235 mm.
a5RotatedSpecifies the paper size is 210 mm * 148 mm.
a5TransverseSpecifies the paper size is 148 mm * 210 mm.
a6Specifies the paper size is 105 mm * 148 mm.
a6RotatedSpecifies the paper size is 148 mm * 105 mm.
aPlusSpecifies the paper size is 227 mm * 356 mm.
b4Specifies the paper size is 250 mm * 353 mm.
b4EnvelopeSpecifies the paper size is 250 mm * 353 mm.
b4JisRotatedSpecifies the paper size is 364 mm * 257 mm.
b5Specifies the paper size is 176 mm * 250 mm.
b5EnvelopeSpecifies the paper size is 176 mm * 250 mm.
b5ExtraSpecifies the paper size is 201 mm * 276 mm.
b5JisRotatedSpecifies the paper size is 257 mm * 182 mm.
b5TransverseSpecifies the paper size is 182 mm * 257 mm.
b6EnvelopeSpecifies the paper size is 176 mm * 125 mm.
b6JisSpecifies the paper size is 128 mm * 182 mm.
b6JisRotatedSpecifies the paper size is 182 mm * 128 mm.
bPlusSpecifies the paper size is 305 mm * 487 mm.
c3EnvelopeSpecifies the paper size is 324 mm * 458 mm.
c4EnvelopeSpecifies the paper size is 229 mm * 324 mm.
c5EnvelopeSpecifies the paper size is 162 mm * 229 mm.
c65EnvelopeSpecifies the paper size is 114 mm * 229 mm.
c6EnvelopeSpecifies the paper size is 114 mm * 162 mm.
cSheetSpecifies the paper size is 17 in. * 22 in.
customSpecifies the paper size is defined by the user.
dlEnvelopeSpecifies the paper size is 110 mm * 220 mm.
dSheetSpecifies the paper size is 22 in. * 34 in.
eSheetSpecifies the paper size is 34 in. * 44 in.
executiveSpecifies the paper size is 7.25 in. * 10.5 in.
folioSpecifies the paper size is 8.5 in. * 13 in.
germanLegalFanfoldSpecifies the paper size is 8.5 in. * 13 in.
germanStandardFanfoldSpecifies the paper size is 8.5 in. * 12 in.
inviteEnvelopeSpecifies the paper size is 220 mm * 220 mm.
isoB4Specifies the paper size is 250 mm * 353 mm.
italyEnvelopeSpecifies the paper size is 110 mm * 230 mm.
japaneseDoublePostcardSpecifies the paper size is 200 mm * 148 mm.
japaneseDoublePostcardRotatedSpecifies the paper size is 148 mm * 200 mm.
japaneseEnvelopeChouNumber3Specifies the paper size is Japanese Chou #3 envelope, 120 mm * 235 mm.
japaneseEnvelopeChouNumber3RotatedSpecifies the paper size is Japanese rotated Chou #3 envelope, 235 mm * 120 mm.
japaneseEnvelopeChouNumber4Specifies the paper size is Japanese Chou #4 envelope, 90 mm * 205 mm.
japaneseEnvelopeChouNumber4RotatedSpecifies the paper size is Japanese rotated Chou #4 envelope, 205 mm * 90 mm.
japaneseEnvelopeKakuNumber2Specifies the paper size is Japanese Kaku #2 envelope, 240 mm * 332 mm.
japaneseEnvelopeKakuNumber2RotatedSpecifies the paper size is Japanese rotated Kaku #2 envelope, 332 mm * 240 mm.
japaneseEnvelopeKakuNumber3Specifies the paper size is Japanese Kaku #3 envelope, 216 mm * 277 mm.
japaneseEnvelopeKakuNumber3RotatedSpecifies the paper size is Japanese rotated Kaku #3 envelope, 277 mm * 216 mm.
japaneseEnvelopeYouNumber4Specifies the paper size is Japanese You #4 envelope, 235 mm * 105 mm.
japaneseEnvelopeYouNumber4RotatedSpecifies the paper size is Japanese You #4 rotated envelope, 105 mm * 235 mm.
japanesePostcardSpecifies the paper size is 100 mm * 148 mm.
japanesePostcardRotatedSpecifies the paper size is 148 mm * 100 mm.
ledgerSpecifies the paper size is 17 in. * 11 in.
legalSpecifies the paper size is 8.5 in. * 14 in.
legalExtraSpecifies the paper size is legal extra paper (9.275 in. * 15 in.). This value is specific to the PostScript driver and is used only by Linotronic printers in order to conserve paper.
letterSpecifies the paper size is 8.5 in. * 11 in.
letterExtraSpecifies the paper size is letter extra paper (9.275 in. * 12 in.). This value is specific to the PostScript driver and is used only by Linotronic printers in order to conserve paper.
letterExtraTransverseSpecifies the paper size 9.275 in. * 12 in.
letterPlusSpecifies the paper size is 8.5 in. * 12.69 in.
letterRotatedSpecifies the paper size is 11 in. * 8.5 in.
letterSmallSpecifies the paper size is 8.5 in. * 11 in.
letterTransverseSpecifies the paper size is 8.275 in. * 11 in.
monarchEnvelopeSpecifies the paper size is 3.875 in. * 7.5 in.
noteSpecifies the paper size is 8.5 in. * 11 in.
number10EnvelopeSpecifies the paper size is 4.125 in. * 9.5 in.
number11EnvelopeSpecifies the paper size is 4.5 in. * 10.375 in.
number12EnvelopeSpecifies the paper size is 4.75 in. * 11 in.
number14EnvelopeSpecifies the paper size is 5 in. * 11.5 in.
number9EnvelopeSpecifies the paper size is 3.875 in. * 8.875 in.
personalEnvelopeSpecifies the paper size is 3.625 in. * 6.5 in.
prc16KSpecifies the paper size is 146 mm * 215 mm.
prc16KRotatedSpecifies the paper size is 146 mm * 215 mm.
prc32KSpecifies the paper size is 97 mm * 151 mm.
prc32KBigSpecifies the paper size is 97 mm * 151 mm.
prc32KBigRotatedSpecifies the paper size is 97 mm * 151 mm.
prc32KRotatedSpecifies the paper size is 97 mm * 151 mm.
prcEnvelopeNumber1Specifies the paper size is 102 mm * 165 mm.
prcEnvelopeNumber10Specifies the paper size is 324 mm * 458 mm.
prcEnvelopeNumber10RotatedSpecifies the paper size is 458 mm * 324 mm.
prcEnvelopeNumber1RotatedSpecifies the paper size is 165 mm * 102 mm.
prcEnvelopeNumber2Specifies the paper size is 102 mm * 176 mm.
prcEnvelopeNumber2RotatedSpecifies the paper size is 176 mm * 102 mm.
prcEnvelopeNumber3Specifies the paper size is 125 mm * 176 mm.
prcEnvelopeNumber3RotatedSpecifies the paper size is 176 mm * 125 mm.
prcEnvelopeNumber4Specifies the paper size is 110 mm * 208 mm.
prcEnvelopeNumber4RotatedSpecifies the paper size is 208 mm * 110 mm.
prcEnvelopeNumber5Specifies the paper size is 110 mm * 220 mm.
prcEnvelopeNumber5RotatedSpecifies the paper size is 220 mm * 110 mm.
prcEnvelopeNumber6Specifies the paper size is 120 mm * 230 mm.
prcEnvelopeNumber6RotatedSpecifies the paper size is 230 mm * 120 mm.
prcEnvelopeNumber7Specifies the paper size is 160 mm * 230 mm.
prcEnvelopeNumber7RotatedSpecifies the paper size is 230 mm * 160 mm.
prcEnvelopeNumber8Specifies the paper size is 120 mm * 309 mm.
prcEnvelopeNumber8RotatedSpecifies the paper size is 309 mm * 120 mm.
prcEnvelopeNumber9Specifies the paper size is 229 mm * 324 mm.
prcEnvelopeNumber9RotatedSpecifies the paper size is 324 mm * 229 mm.
quartoSpecifies the paper size is 215 mm * 275 mm.
standard10x11Specifies the paper size is 10 in. * 11 in.
standard10x14Specifies the paper size is 10 in. * 14 in.
standard11x17Specifies the paper size is 11 in. * 17 in.
standard12x11Specifies the paper size is 12 in. * 11 in.
standard15x11Specifies the paper size is 15 in. * 11 in.
standard9x11Specifies the paper size is 9 in. * 11 in.
statementSpecifies the paper size is 5.5 in. * 8.5 in.
tabloidSpecifies the paper size is 11 in. * 17 in.
tabloidExtraSpecifies the paper size is 11.69 in. * 18 in.
usStandardFanfoldSpecifies the paper size is 14.875 in. * 11 in.
Example
This example sets the paper size.
activeSheet.setRowCount(3, GC.Spread.Sheets.SheetArea.viewport);
activeSheet.setColumnCount(3, GC.Spread.Sheets.SheetArea.viewport);

activeSheet.suspendPaint();
            //set value
            for (var r = 0, rc = activeSheet.getRowCount(); r < rc; r++) {
                for (var c = 0, cc = activeSheet.getColumnCount(); c < cc; c++) {
                    activeSheet.setValue(r, c, r + c);
                }
            }
activeSheet.resumePaint();

$("#button1").click(function () {
var printInfo = new GC.Spread.Sheets.Print.PrintInfo();
printInfo.headerLeft("Header Left");
printInfo.paperSize(new GC.Spread.Sheets.Print.PaperSize(GC.Spread.Sheets.Print.PaperKind.a4));
spread.print(0);
   });
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Print.PaperKind

See Also

Reference

GC.Spread.Sheets.Print Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.