SpreadJS 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, GcSpread.Sheets.SheetArea.viewport);
activeSheet.setColumnCount(3, GcSpread.Sheets.SheetArea.viewport);

activeSheet.isPaintSuspended(true);
            //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.isPaintSuspended(false);

$("#button1").click(function () {
var printInfo = activeSheet.printInfo();
printInfo.headerLeft("Header Left");
printInfo.paperSize(new GcSpread.Sheets.PaperSize(GcSpread.Sheets.PaperKind.A4));
spread.print(0);
   });
Inheritance Hierarchy

Object
   GcSpread.Sheets.PaperKind

See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.