PaperSizeList

Represents a list of papers.

public class PaperSizeList : IEnumerable, IEnumerable<PaperSize>
Public Class PaperSizeList
    Implements IEnumerable, IEnumerable(Of PaperSize)

Inheritance: ObjectPaperSizeList

Implements: IEnumerable, IEnumerable<PaperSize>

Licensing Info

This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:

Examples

The following examples creates a print job, sets the paper size and prints the job.

Imports System
Imports ceTe.DynamicPDF.Printing

Module MyModule

    Sub Main()

        ' Create a print job
        Dim MyPrintJob As PrintJob = New PrintJob("PrinterName", "C:\MyDocument.pdf")

        ' Get the list of available paper sizes for the printer
        Dim MyPaperSizes As PaperSizeList = MyPrintJob.Printer.PaperSizes

        ' Set the paper size
        MyPrintJob.PrintOptions.PaperSize = MyPaperSizes(0)

        ' Print the job
        MyPrintJob.Print()
    End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;

class MyClass
{
    static void Main()
    {
        // Create a print job
        PrintJob printJob = new PrintJob("PrinterName", @"C:\MyDocument.pdf");

        // Get the list of available paper sizes for the printer
        PaperSizeList paperSizes = printJob.Printer.PaperSizes;

        // Set the paper size
        printJob.PrintOptions.PaperSize = paperSizes[0];

        // Print the job
        printJob.Print();
    }
}

Properties

A2Gets the A2 paper size if it is specified by the printer.
A3Gets the A3 paper size if it is specified by the printer.
A3ExtraGets the A3 extra paper size if it is specified by the printer.
A3ExtraTransverseGets the A3 extra transverse paper size if it is specified by the printer.
A3RotatedGets the A3 rotated paper size if it is specified by the printer.
A3TransverseGets the A3 transverse paper size if it is specified by the printer.
A4Gets the A4 paper size if it is specified by the printer.
A4ExtraGets the A4 extra paper size if it is specified by the printer.
A4PlusGets the A4 plus paper size if it is specified by the printer.
A4RotatedGets the A4 rotated paper size if it is specified by the printer.
A4SmallGets the A4 small paper size if it is specified by the printer.
A4TransverseGets the A4 transverse paper size if it is specified by the printer.
A5Gets the A5 paper size if it is specified by the printer.
A5ExtraGets the A5 extra paper size if it is specified by the printer.
A5RotatedGets the A5 rotated paper size if it is specified by the printer.
A5TransverseGets the A5 transverse paper size if it is specified by the printer.
A6Gets the A6 paper size if it is specified by the printer.
A6RotatedGets the A6 rotated paper size if it is specified by the printer.
APlusGets the A plus paper size if it is specified by the printer.
B4Gets the B4 paper size if it is specified by the printer.
B4JisRotatedGets the B4 JIS rotated paper size if it is specified by the printer.
B5Gets the B5 paper size if it is specified by the printer.
B5ExtraGets the B5 extra paper size if it is specified by the printer.
B5JisRotatedGets the B5 JIS rotated paper size '' if it is specified by the printer.
B6JisGets the B6 JIS paper size if it is specified by the printer.
B6JisRotatedGets the B6 JIS rotated paper size if it is specified by the printer.
BPlusGets the B plus paper size if it is specified by the printer.
CountGets the number of paper sources in the list.
CSheetGets the C sheet paper size if it is specified by the printer.
DblJapanesePostcardGets the double Japanese postcard paper size if it is specified by the printer.
DblJapanesePostcardRotatedGets the double Japanese postcard rotated paper size if it is specified by the printer.
DSheetGets the D sheet paper size if it is specified by the printer.
Envelope10Gets the envelope 10 paper size if it is specified by the printer.
Envelope11Gets the envelope 11 paper size if it is specified by the printer.
Envelope12Gets the envelope 12 paper size if it is specified by the printer.
Envelope14Gets the envelope 14 paper size if it is specified by the printer.
Envelope9Gets the envelope 9 paper size if it is specified by the printer.
EnvelopeB4Gets the envelope B4 paper size if it is specified by the printer.
EnvelopeB5Gets the envelope B5 paper size if it is specified by the printer.
EnvelopeB6Gets the envelope B6 paper size if it is specified by the printer.
EnvelopeC3Gets the envelope C3 paper size if it is specified by the printer.
EnvelopeC4Gets the envelope C4 paper size if it is specified by the printer.
EnvelopeC5Gets the envelope C5 paper size if it is specified by the printer.
EnvelopeC6Gets the envelope C6 paper size if it is specified by the printer.
EnvelopeC65Gets the envelope C65 paper size if it is specified by the printer.
EnvelopeDLGets the envelope DL paper size if it is specified by the printer.
EnvelopeInviteGets the envelope invite paper size if it is specified by the printer.
EnvelopeItalyGets the envelope Italy paper size if it is specified by the printer.
EnvelopeMonarchGets the envelope monarch paper size if it is specified by the printer.
EnvelopePersonalGets the envelope personal paper size if it is specified by the printer.
ESheetGets the E sheet paper size if it is specified by the printer.
ExecutiveGets the executive paper size if it is specified by the printer.
FanfoldLegalGermanGets the German fanfold legal paper size if it is specified by the printer.
FanfoldStandardGermanGets the German fanfold standard paper size if it is specified by the printer.
FanfoldUsGets the US fanfold paper size if it is specified by the printer.
FolioGets the folio paper size if it is specified by the printer.
IsoB4Gets the ISO B4 paper size if it is specified by the printer.
Item[Int32]Gets a PaperSize object by index.
Item[String]Gets a PaperSize object by name.
JapaneseEnvelopeChou3Gets the Japanese envelope Chou 3 paper size if it is specified by the printer.
JapaneseEnvelopeChou3RotatedGets the Japanese envelope Chou 3 rotated paper size if it is specified by the printer.
JapaneseEnvelopeChou4Gets the Japanese envelope Chou 4 paper size if it is specified by the printer.
JapaneseEnvelopeChou4RotatedGets the Japanese envelope Chou 4 rotated paper size if it is specified by the printer.
JapaneseEnvelopeKaku2Gets the Japanese envelope Kaku 2 paper size if it is specified by the printer.
JapaneseEnvelopeKaku2RotatedGets the Japanese envelope Kaku 2 rotated paper size if it is specified by the printer.
JapaneseEnvelopeKaku3Gets the Japanese envelope Kaku 3 paper size if it is specified by the printer.
JapaneseEnvelopeKaku3RotatedGets the Japanese envelope Kaku 3 rotated paper size if it is specified by the printer.
JapaneseEnvelopeYou4Gets the Japanese envelope You 4 paper size if it is specified by the printer.
JapaneseEnvelopeYou4RotatedGets the Japanese envelope You 4 rotated paper size if it is specified by the printer.
JapanesePostcardGets the Japanese postcard paper size if it is specified by the printer.
JapanesePostcardRotatedGets the Japanese postcard rotated paper size if it is specified by the printer.
LastGets the last paper size if it is specified by the printer.
LedgerGets the ledger paper size if it is specified by the printer.
LegalGets the US Legal paper size if it is specified by the printer.
LegalExtraGets the legal extra paper size if it is specified by the printer.
LetterGets the US Letter paper size if it is specified by the printer.
LetterExtraGets the letter extra paper size if it is specified by the printer.
LetterExtraTransverseGets the letter extra transverse paper size if it is specified by the printer.
LetterRotatedGets the letter rotated paper size if it is specified by the printer.
LetterSmallGets the letter small paper size if it is specified by the printer.
LetterTransverseGets the letter transverse paper size if it is specified by the printer.
NoteGets the note paper size if it is specified by the printer.
Prc16KGets the PRC 16K paper size if it is specified by the printer.
Prc16KRotatedGets the PRC 16K rotated paper size if it is specified by the printer.
Prc32KGets the PRC 32K paper size if it is specified by the printer.
Prc32KBigGets the PRC 32K big paper size if it is specified by the printer.
Prc32KBigRotatedGets the PRC 32K big rotated paper size if it is specified by the printer.
Prc32KRotatedGets the PRC 32K rotated paper size if it is specified by the printer.
PrcEnvelope1Gets the PRC envelope 1 paper size if it is specified by the printer.
PrcEnvelope10Gets the PRC envelope 10 paper size if it is specified by the printer.
PrcEnvelope10RotatedGets the PRC envelope 10 rotated paper size if it is specified by the printer.
PrcEnvelope1RotatedGets the PRC envelope 1 rotated paper size if it is specified by the printer.
PrcEnvelope2Gets the PRC envelope 2 paper size if it is specified by the printer.
PrcEnvelope2RotatedGets the PRC envelope 2 rotated paper size if it is specified by the printer.
PrcEnvelope3Gets the PRC envelope 3 paper size if it is specified by the printer.
PrcEnvelope3RotatedGets the PRC envelope 3 rotated paper size if it is specified by the printer.
PrcEnvelope4Gets the PRC envelope 4 paper size if it is specified by the printer.
PrcEnvelope4RotatedGets the PRC envelope 4 rotated paper size if it is specified by the printer.
PrcEnvelope5Gets the PRC envelope 5 paper size if it is specified by the printer.
PrcEnvelope5RotatedGets the PRC envelope 5 rotated paper size if it is specified by the printer.
PrcEnvelope6Gets the PRC envelope 6 paper size if it is specified by the printer.
PrcEnvelope6RotatedGets the PRC envelope 6 rotated size if it is specified by the printer.
PrcEnvelope7Gets the PRC envelope 7 paper size if it is specified by the printer.
PrcEnvelope7RotatedGets the PRC envelope 7 rotated paper size if it is specified by the printer.
PrcEnvelope8Gets the PRC envelope 8 paper size if it is specified by the printer.
PrcEnvelope8RotatedGets the PRC envelope 8 rotated paper size if it is specified by the printer.
PrcEnvelope9Gets the PRC envelope 9 paper size if it is specified by the printer.
PrcEnvelope9RotatedGets the PRC envelope 9 rotated paper size if it is specified by the printer.
QuartoGets the quarto paper size if it is specified by the printer.
Size10By11Gets the paper size 10 by 11 if it is specified by the printer.
Size10By14Gets the paper size 10 by 14 if it is specified by the printer.
Size11By17Gets the paper size 11 by 17 if it is specified by the printer.
Size12By11Gets the paper size 12 by 11 if it is specified by the printer.
Size15By11Gets the paper size 15 by 11 if it is specified by the printer.
Size9By11Gets the paper size 9 by 11 if it is specified by the printer.
StatementGets the statement paper size if it is specified by the printer.
TabloidGets the tabloid paper size if it is specified by the printer.
TabloidExtraGets the tabloid extra paper size if it is specified by the printer.

Methods

Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetEnumerator()Returns an enumerator that iterates through a collection.
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF.Printing

In this topic