Enum PaperSizeType

PaperSizeType enumeration

Represents paper size constants.

public enum PaperSizeType

Values

NameValueDescription
PaperLetter1Letter (8-1/2 in. x 11 in.)
PaperLetterSmall2Letter Small (8-1/2 in. x 11 in.)
PaperTabloid3Tabloid (11 in. x 17 in.)
PaperLedger4Ledger (17 in. x 11 in.)
PaperLegal5Legal (8-1/2 in. x 14 in.)
PaperStatement6Statement (5-1/2 in. x 8-1/2 in.)
PaperExecutive7Executive (7-1/4 in. x 10-1/2 in.)
PaperA38A3 (297 mm x 420 mm)
PaperA49A4 (210 mm x 297 mm)
PaperA4Small10A4 Small (210 mm x 297 mm)
PaperA511A5 (148 mm x 210 mm)
PaperB412JIS B4 (257 mm x 364 mm)
PaperB513JIS B5 (182 mm x 257 mm)
PaperFolio14Folio (8-1/2 in. x 13 in.)
PaperQuarto15Quarto (215 mm x 275 mm)
Paper10x141610 in. x 14 in.
Paper11x171711 in. x 17 in.
PaperNote18Note (8-1/2 in. x 11 in.)
PaperEnvelope919Envelope #9 (3-7/8 in. x 8-7/8 in.)
PaperEnvelope1020Envelope #10 (4-1/8 in. x 9-1/2 in.)
PaperEnvelope1121Envelope #11 (4-1/2 in. x 10-3/8 in.)
PaperEnvelope1222Envelope #12 (4-1/2 in. x 11 in.)
PaperEnvelope1423Envelope #14 (5 in. x 11-1/2 in.)
PaperCSheet24C size sheet
PaperDSheet25D size sheet
PaperESheet26E size sheet
PaperEnvelopeDL27Envelope DL (110 mm x 220 mm)
PaperEnvelopeC528Envelope C5 (162 mm x 229 mm)
PaperEnvelopeC329Envelope C3 (324 mm x 458 mm)
PaperEnvelopeC430Envelope C4 (229 mm x 324 mm)
PaperEnvelopeC631Envelope C6 (114 mm x 162 mm)
PaperEnvelopeC6532Envelope C65 (114 mm x 229 mm)
PaperEnvelopeB433Envelope B4 (250 mm x 353 mm)
PaperEnvelopeB534Envelope B5 (176 mm x 250 mm)
PaperEnvelopeB635Envelope B6 (176 mm x 125 mm)
PaperEnvelopeItaly36Envelope Italy (110 mm x 230 mm)
PaperEnvelopeMonarch37Envelope Monarch (3-7/8 in. x 7-1/2 in.)
PaperEnvelopePersonal38Envelope (3-5/8 in. x 6-1/2 in.)
PaperFanfoldUS39U.S. Standard Fanfold (14-7/8 in. x 11 in.)
PaperFanfoldStdGerman40German Standard Fanfold (8-1/2 in. x 12 in.)
PaperFanfoldLegalGerman41German Legal Fanfold (8-1/2 in. x 13 in.)
PaperISOB442B4 (ISO) 250 x 353 mm
PaperJapanesePostcard43Japanese Postcard (100mm × 148mm)
Paper9x11449? × 11?
Paper10x114510? × 11?
Paper15x114615? × 11?
PaperEnvelopeInvite47Envelope Invite(220mm × 220mm)
PaperLetterExtra50US Letter Extra 9 \275 x 12 in
PaperLegalExtra51US Legal Extra 9 \275 x 15 in
PaperTabloidExtra52US Tabloid Extra 11.69 x 18 in
PaperA4Extra53A4 Extra 9.27 x 12.69 in
PaperLetterTransverse54Letter Transverse 8 \275 x 11 in
PaperA4Transverse55A4 Transverse 210 x 297 mm
PaperLetterExtraTransverse56Letter Extra Transverse 9\275 x 12 in
PaperSuperA57SuperA/SuperA/A4 227 x 356 mm
PaperSuperB58SuperB/SuperB/A3 305 x 487 mm
PaperLetterPlus59US Letter Plus 8.5 x 12.69 in
PaperA4Plus60A4 Plus 210 x 330 mm
PaperA5Transverse61A5 Transverse 148 x 210 mm
PaperJISB5Transverse62B5 (JIS) Transverse 182 x 257 mm
PaperA3Extra63A3 Extra 322 x 445 mm
PaperA5Extra64A5 Extra 174 x 235 mm
PaperISOB5Extra65B5 (ISO) Extra 201 x 276 mm
PaperA266A2 420 x 594 mm
PaperA3Transverse67A3 Transverse 297 x 420 mm
PaperA3ExtraTransverse68A3 Extra Transverse 322 x 445 mm
PaperJapaneseDoublePostcard69Japanese Double Postcard 200 x 148 mm
PaperA670A6 105 x 148 mm
PaperJapaneseEnvelopeKaku271Japanese Envelope Kaku #2
PaperJapaneseEnvelopeKaku372Japanese Envelope Kaku #3
PaperJapaneseEnvelopeChou373Japanese Envelope Chou #3
PaperJapaneseEnvelopeChou474Japanese Envelope Chou #4
PaperLetterRotated7511in × 8.5in
PaperA3Rotated76420mm × 297mm
PaperA4Rotated77297mm × 210mm
PaperA5Rotated78210mm × 148mm
PaperJISB4Rotated79B4 (JIS) Rotated 364 x 257 mm
PaperJISB5Rotated80B5 (JIS) Rotated 257 x 182 mm
PaperJapanesePostcardRotated81Japanese Postcard Rotated 148 x 100 mm
PaperJapaneseDoublePostcardRotated82Double Japanese Postcard Rotated 148 x 200 mm
PaperA6Rotated83A6 Rotated 148 x 105 mm
PaperJapaneseEnvelopeKaku2Rotated84Japanese Envelope Kaku #2 Rotated
PaperJapaneseEnvelopeKaku3Rotated85Japanese Envelope Kaku #3 Rotated
PaperJapaneseEnvelopeChou3Rotated86Japanese Envelope Chou #3 Rotated
PaperJapaneseEnvelopeChou4Rotated87Japanese Envelope Chou #4 Rotated
PaperJISB688B6 (JIS) 128 x 182 mm
PaperJISB6Rotated89B6 (JIS) Rotated 182 x 128 mm
Paper12x119012 x 11 in
PaperJapaneseEnvelopeYou491Japanese Envelope You #4
PaperJapaneseEnvelopeYou4Rotated92Japanese Envelope You #4 Rotated
PaperPRC16K93PRC 16K 146 x 215 mm
PaperPRC32K94PRC 32K 97 x 151 mm
PaperPRCBig32K95PRC 32K(Big) 97 x 151 mm
PaperPRCEnvelope196PRC Envelope #1 102 x 165 mm
PaperPRCEnvelope297PRC Envelope #2 102 x 176 mm
PaperPRCEnvelope398PRC Envelope #3 125 x 176 mm
PaperPRCEnvelope499PRC Envelope #4 110 x 208 mm
PaperPRCEnvelope5100PRC Envelope #5 110 x 220 mm
PaperPRCEnvelope6101PRC Envelope #6 120 x 230 mm
PaperPRCEnvelope7102PRC Envelope #7 160 x 230 mm
PaperPRCEnvelope8103PRC Envelope #8 120 x 309 mm
PaperPRCEnvelope9104PRC Envelope #9 229 x 324 mm
PaperPRCEnvelope10105PRC Envelope #10 324 x 458 mm
PaperPRC16KRotated106PRC 16K Rotated
PaperPRC32KRotated107PRC 32K Rotated
PaperPRCBig32KRotated108PRC 32K(Big) Rotated
PaperPRCEnvelope1Rotated109PRC Envelope #1 Rotated 165 x 102 mm
PaperPRCEnvelope2Rotated110PRC Envelope #2 Rotated 176 x 102 mm
PaperPRCEnvelope3Rotated111PRC Envelope #3 Rotated 176 x 125 mm
PaperPRCEnvelope4Rotated112PRC Envelope #4 Rotated 208 x 110 mm
PaperPRCEnvelope5Rotated113PRC Envelope #5 Rotated 220 x 110 mm
PaperPRCEnvelope6Rotated114PRC Envelope #6 Rotated 230 x 120 mm
PaperPRCEnvelope7Rotated115PRC Envelope #7 Rotated 230 x 160 mm
PaperPRCEnvelope8Rotated116PRC Envelope #8 Rotated 309 x 120 mm
PaperPRCEnvelope9Rotated117PRC Envelope #9 Rotated 324 x 229 mm
PaperPRCEnvelope10Rotated118PRC Envelope #10 Rotated 458 x 324 mm
PaperB3300usual B3(13.9 x 19.7 in)
PaperBusinessCard301Business Card(90mm x 55 mm)
PaperThermal302Thermal(3 x 11 in)
Custom0Represents the custom paper size.

Examples

[C#]

namespace Demos
{
    using Aspose.Cells;
    using System;

    public class PaperSizeTypeDemo
    {
        public static void PaperSizeTypeExample()
        {
            // Create a new workbook
            Workbook workbook = new Workbook();
            Worksheet worksheet = workbook.Worksheets[0];

            // Access the PageSetup of the worksheet
            PageSetup pageSetup = worksheet.PageSetup;

            // Set the paper size to A4
            pageSetup.PaperSize = PaperSizeType.PaperA4;

            // Set the paper size to Legal
            pageSetup.PaperSize = PaperSizeType.PaperLegal;

            // Set the paper size to Custom
            pageSetup.PaperSize = PaperSizeType.Custom;

            // Save the workbook
            workbook.Save("PaperSizeTypeExample.xlsx");

            return;
        }
    }
}

See Also