cete.dynamicpdf.printing.papersizelist
PaperSizeList
- Namespace: ceTe.DynamicPDF.Printing
- Assemblies: ceTe.DynamicPDF.Printing.40.x64.dll, ceTe.DynamicPDF.Printing.40.x86.dll
Represents a list of papers.
public class PaperSizeList : IEnumerable, IEnumerable<PaperSize>
Public Class PaperSizeList
Implements IEnumerable, IEnumerable(Of PaperSize)
Inheritance: Object → PaperSizeList
Implements: IEnumerable, IEnumerable<PaperSize>
Licensing
This class is a DynamicPDF PrintManager feature. The following license is required for non-evaluation usage:
- DynamicPDF PrintManager for .NET
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
A2
Gets the A2 paper size if it is specified by the printer.
public PaperSize A2 { get; }
Public Property A2 As PaperSize
Property Value
A3
Gets the A3 paper size if it is specified by the printer.
public PaperSize A3 { get; }
Public Property A3 As PaperSize
Property Value
A3Extra
Gets the A3 extra paper size if it is specified by the printer.
public PaperSize A3Extra { get; }
Public Property A3Extra As PaperSize
Property Value
A3ExtraTransverse
Gets the A3 extra transverse paper size if it is specified by the printer.
public PaperSize A3ExtraTransverse { get; }
Public Property A3ExtraTransverse As PaperSize
Property Value
A3Rotated
Gets the A3 rotated paper size if it is specified by the printer.
public PaperSize A3Rotated { get; }
Public Property A3Rotated As PaperSize
Property Value
A3Transverse
Gets the A3 transverse paper size if it is specified by the printer.
public PaperSize A3Transverse { get; }
Public Property A3Transverse As PaperSize
Property Value
A4
Gets the A4 paper size if it is specified by the printer.
public PaperSize A4 { get; }
Public Property A4 As PaperSize
Property Value
A4Extra
Gets the A4 extra paper size if it is specified by the printer.
public PaperSize A4Extra { get; }
Public Property A4Extra As PaperSize
Property Value
A4Plus
Gets the A4 plus paper size if it is specified by the printer.
public PaperSize A4Plus { get; }
Public Property A4Plus As PaperSize
Property Value
A4Rotated
Gets the A4 rotated paper size if it is specified by the printer.
public PaperSize A4Rotated { get; }
Public Property A4Rotated As PaperSize
Property Value
A4Small
Gets the A4 small paper size if it is specified by the printer.
public PaperSize A4Small { get; }
Public Property A4Small As PaperSize
Property Value
A4Transverse
Gets the A4 transverse paper size if it is specified by the printer.
public PaperSize A4Transverse { get; }
Public Property A4Transverse As PaperSize
Property Value
A5
Gets the A5 paper size if it is specified by the printer.
public PaperSize A5 { get; }
Public Property A5 As PaperSize
Property Value
A5Extra
Gets the A5 extra paper size if it is specified by the printer.
public PaperSize A5Extra { get; }
Public Property A5Extra As PaperSize
Property Value
A5Rotated
Gets the A5 rotated paper size if it is specified by the printer.
public PaperSize A5Rotated { get; }
Public Property A5Rotated As PaperSize
Property Value
A5Transverse
Gets the A5 transverse paper size if it is specified by the printer.
public PaperSize A5Transverse { get; }
Public Property A5Transverse As PaperSize
Property Value
A6
Gets the A6 paper size if it is specified by the printer.
public PaperSize A6 { get; }
Public Property A6 As PaperSize
Property Value
A6Rotated
Gets the A6 rotated paper size if it is specified by the printer.
public PaperSize A6Rotated { get; }
Public Property A6Rotated As PaperSize
Property Value
APlus
Gets the A plus paper size if it is specified by the printer.
public PaperSize APlus { get; }
Public Property APlus As PaperSize
Property Value
B4
Gets the B4 paper size if it is specified by the printer.
public PaperSize B4 { get; }
Public Property B4 As PaperSize
Property Value
B4JisRotated
Gets the B4 JIS rotated paper size if it is specified by the printer.
public PaperSize B4JisRotated { get; }
Public Property B4JisRotated As PaperSize
Property Value
B5
Gets the B5 paper size if it is specified by the printer.
public PaperSize B5 { get; }
Public Property B5 As PaperSize
Property Value
B5Extra
Gets the B5 extra paper size if it is specified by the printer.
public PaperSize B5Extra { get; }
Public Property B5Extra As PaperSize
Property Value
B5JisRotated
Gets the B5 JIS rotated paper size '' if it is specified by the printer.
public PaperSize B5JisRotated { get; }
Public Property B5JisRotated As PaperSize
Property Value
B6Jis
Gets the B6 JIS paper size if it is specified by the printer.
public PaperSize B6Jis { get; }
Public Property B6Jis As PaperSize
Property Value
B6JisRotated
Gets the B6 JIS rotated paper size if it is specified by the printer.
public PaperSize B6JisRotated { get; }
Public Property B6JisRotated As PaperSize
Property Value
BPlus
Gets the B plus paper size if it is specified by the printer.
public PaperSize BPlus { get; }
Public Property BPlus As PaperSize
Property Value
Count
Gets the number of paper sources in the list.
public int Count { get; }
Public Property Count As Int32
Property Value
CSheet
Gets the C sheet paper size if it is specified by the printer.
public PaperSize CSheet { get; }
Public Property CSheet As PaperSize
Property Value
DblJapanesePostcard
Gets the double Japanese postcard paper size if it is specified by the printer.
public PaperSize DblJapanesePostcard { get; }
Public Property DblJapanesePostcard As PaperSize
Property Value
DblJapanesePostcardRotated
Gets the double Japanese postcard rotated paper size if it is specified by the printer.
public PaperSize DblJapanesePostcardRotated { get; }
Public Property DblJapanesePostcardRotated As PaperSize
Property Value
DSheet
Gets the D sheet paper size if it is specified by the printer.
public PaperSize DSheet { get; }
Public Property DSheet As PaperSize
Property Value
Envelope10
Gets the envelope 10 paper size if it is specified by the printer.
public PaperSize Envelope10 { get; }
Public Property Envelope10 As PaperSize
Property Value
Envelope11
Gets the envelope 11 paper size if it is specified by the printer.
public PaperSize Envelope11 { get; }
Public Property Envelope11 As PaperSize
Property Value
Envelope12
Gets the envelope 12 paper size if it is specified by the printer.
public PaperSize Envelope12 { get; }
Public Property Envelope12 As PaperSize
Property Value
Envelope14
Gets the envelope 14 paper size if it is specified by the printer.
public PaperSize Envelope14 { get; }
Public Property Envelope14 As PaperSize
Property Value
Envelope9
Gets the envelope 9 paper size if it is specified by the printer.
public PaperSize Envelope9 { get; }
Public Property Envelope9 As PaperSize
Property Value
EnvelopeB4
Gets the envelope B4 paper size if it is specified by the printer.
public PaperSize EnvelopeB4 { get; }
Public Property EnvelopeB4 As PaperSize
Property Value
EnvelopeB5
Gets the envelope B5 paper size if it is specified by the printer.
public PaperSize EnvelopeB5 { get; }
Public Property EnvelopeB5 As PaperSize
Property Value
EnvelopeB6
Gets the envelope B6 paper size if it is specified by the printer.
public PaperSize EnvelopeB6 { get; }
Public Property EnvelopeB6 As PaperSize
Property Value
EnvelopeC3
Gets the envelope C3 paper size if it is specified by the printer.
public PaperSize EnvelopeC3 { get; }
Public Property EnvelopeC3 As PaperSize
Property Value
EnvelopeC4
Gets the envelope C4 paper size if it is specified by the printer.
public PaperSize EnvelopeC4 { get; }
Public Property EnvelopeC4 As PaperSize
Property Value
EnvelopeC5
Gets the envelope C5 paper size if it is specified by the printer.
public PaperSize EnvelopeC5 { get; }
Public Property EnvelopeC5 As PaperSize
Property Value
EnvelopeC6
Gets the envelope C6 paper size if it is specified by the printer.
public PaperSize EnvelopeC6 { get; }
Public Property EnvelopeC6 As PaperSize
Property Value
EnvelopeC65
Gets the envelope C65 paper size if it is specified by the printer.
public PaperSize EnvelopeC65 { get; }
Public Property EnvelopeC65 As PaperSize
Property Value
EnvelopeDL
Gets the envelope DL paper size if it is specified by the printer.
public PaperSize EnvelopeDL { get; }
Public Property EnvelopeDL As PaperSize
Property Value
EnvelopeInvite
Gets the envelope invite paper size if it is specified by the printer.
public PaperSize EnvelopeInvite { get; }
Public Property EnvelopeInvite As PaperSize
Property Value
EnvelopeItaly
Gets the envelope Italy paper size if it is specified by the printer.
public PaperSize EnvelopeItaly { get; }
Public Property EnvelopeItaly As PaperSize
Property Value
EnvelopeMonarch
Gets the envelope monarch paper size if it is specified by the printer.
public PaperSize EnvelopeMonarch { get; }
Public Property EnvelopeMonarch As PaperSize
Property Value
EnvelopePersonal
Gets the envelope personal paper size if it is specified by the printer.
public PaperSize EnvelopePersonal { get; }
Public Property EnvelopePersonal As PaperSize
Property Value
ESheet
Gets the E sheet paper size if it is specified by the printer.
public PaperSize ESheet { get; }
Public Property ESheet As PaperSize
Property Value
Executive
Gets the executive paper size if it is specified by the printer.
public PaperSize Executive { get; }
Public Property Executive As PaperSize
Property Value
FanfoldLegalGerman
Gets the German fanfold legal paper size if it is specified by the printer.
public PaperSize FanfoldLegalGerman { get; }
Public Property FanfoldLegalGerman As PaperSize
Property Value
FanfoldStandardGerman
Gets the German fanfold standard paper size if it is specified by the printer.
public PaperSize FanfoldStandardGerman { get; }
Public Property FanfoldStandardGerman As PaperSize
Property Value
FanfoldUs
Gets the US fanfold paper size if it is specified by the printer.
public PaperSize FanfoldUs { get; }
Public Property FanfoldUs As PaperSize
Property Value
Folio
Gets the folio paper size if it is specified by the printer.
public PaperSize Folio { get; }
Public Property Folio As PaperSize
Property Value
IsoB4
Gets the ISO B4 paper size if it is specified by the printer.
public PaperSize IsoB4 { get; }
Public Property IsoB4 As PaperSize
Property Value
Item[Int32]
Gets a PaperSize object by index.
public PaperSize this[int index] { get; }
Public Property Item(index As Integer) As PaperSize
Property Value
Item[String]
Gets a PaperSize object by name.
public PaperSize this[string name] { get; }
Public Property Item(name As String) As PaperSize
Property Value
JapaneseEnvelopeChou3
Gets the Japanese envelope Chou 3 paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeChou3 { get; }
Public Property JapaneseEnvelopeChou3 As PaperSize
Property Value
JapaneseEnvelopeChou3Rotated
Gets the Japanese envelope Chou 3 rotated paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeChou3Rotated { get; }
Public Property JapaneseEnvelopeChou3Rotated As PaperSize
Property Value
JapaneseEnvelopeChou4
Gets the Japanese envelope Chou 4 paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeChou4 { get; }
Public Property JapaneseEnvelopeChou4 As PaperSize
Property Value
JapaneseEnvelopeChou4Rotated
Gets the Japanese envelope Chou 4 rotated paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeChou4Rotated { get; }
Public Property JapaneseEnvelopeChou4Rotated As PaperSize
Property Value
JapaneseEnvelopeKaku2
Gets the Japanese envelope Kaku 2 paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeKaku2 { get; }
Public Property JapaneseEnvelopeKaku2 As PaperSize
Property Value
JapaneseEnvelopeKaku2Rotated
Gets the Japanese envelope Kaku 2 rotated paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeKaku2Rotated { get; }
Public Property JapaneseEnvelopeKaku2Rotated As PaperSize
Property Value
JapaneseEnvelopeKaku3
Gets the Japanese envelope Kaku 3 paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeKaku3 { get; }
Public Property JapaneseEnvelopeKaku3 As PaperSize
Property Value
JapaneseEnvelopeKaku3Rotated
Gets the Japanese envelope Kaku 3 rotated paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeKaku3Rotated { get; }
Public Property JapaneseEnvelopeKaku3Rotated As PaperSize
Property Value
JapaneseEnvelopeYou4
Gets the Japanese envelope You 4 paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeYou4 { get; }
Public Property JapaneseEnvelopeYou4 As PaperSize
Property Value
JapaneseEnvelopeYou4Rotated
Gets the Japanese envelope You 4 rotated paper size if it is specified by the printer.
public PaperSize JapaneseEnvelopeYou4Rotated { get; }
Public Property JapaneseEnvelopeYou4Rotated As PaperSize
Property Value
JapanesePostcard
Gets the Japanese postcard paper size if it is specified by the printer.
public PaperSize JapanesePostcard { get; }
Public Property JapanesePostcard As PaperSize
Property Value
JapanesePostcardRotated
Gets the Japanese postcard rotated paper size if it is specified by the printer.
public PaperSize JapanesePostcardRotated { get; }
Public Property JapanesePostcardRotated As PaperSize
Property Value
Last
Gets the last paper size if it is specified by the printer.
public PaperSize Last { get; }
Public Property Last As PaperSize
Property Value
Ledger
Gets the ledger paper size if it is specified by the printer.
public PaperSize Ledger { get; }
Public Property Ledger As PaperSize
Property Value
Legal
Gets the US Legal paper size if it is specified by the printer.
public PaperSize Legal { get; }
Public Property Legal As PaperSize
Property Value
LegalExtra
Gets the legal extra paper size if it is specified by the printer.
public PaperSize LegalExtra { get; }
Public Property LegalExtra As PaperSize
Property Value
Letter
Gets the US Letter paper size if it is specified by the printer.
public PaperSize Letter { get; }
Public Property Letter As PaperSize
Property Value
LetterExtra
Gets the letter extra paper size if it is specified by the printer.
public PaperSize LetterExtra { get; }
Public Property LetterExtra As PaperSize
Property Value
LetterExtraTransverse
Gets the letter extra transverse paper size if it is specified by the printer.
public PaperSize LetterExtraTransverse { get; }
Public Property LetterExtraTransverse As PaperSize
Property Value
LetterRotated
Gets the letter rotated paper size if it is specified by the printer.
public PaperSize LetterRotated { get; }
Public Property LetterRotated As PaperSize
Property Value
LetterSmall
Gets the letter small paper size if it is specified by the printer.
public PaperSize LetterSmall { get; }
Public Property LetterSmall As PaperSize
Property Value
LetterTransverse
Gets the letter transverse paper size if it is specified by the printer.
public PaperSize LetterTransverse { get; }
Public Property LetterTransverse As PaperSize
Property Value
Note
Gets the note paper size if it is specified by the printer.
public PaperSize Note { get; }
Public Property Note As PaperSize
Property Value
Prc16K
Gets the PRC 16K paper size if it is specified by the printer.
public PaperSize Prc16K { get; }
Public Property Prc16K As PaperSize
Property Value
Prc16KRotated
Gets the PRC 16K rotated paper size if it is specified by the printer.
public PaperSize Prc16KRotated { get; }
Public Property Prc16KRotated As PaperSize
Property Value
Prc32K
Gets the PRC 32K paper size if it is specified by the printer.
public PaperSize Prc32K { get; }
Public Property Prc32K As PaperSize
Property Value
Prc32KBig
Gets the PRC 32K big paper size if it is specified by the printer.
public PaperSize Prc32KBig { get; }
Public Property Prc32KBig As PaperSize
Property Value
Prc32KBigRotated
Gets the PRC 32K big rotated paper size if it is specified by the printer.
public PaperSize Prc32KBigRotated { get; }
Public Property Prc32KBigRotated As PaperSize
Property Value
Prc32KRotated
Gets the PRC 32K rotated paper size if it is specified by the printer.
public PaperSize Prc32KRotated { get; }
Public Property Prc32KRotated As PaperSize
Property Value
PrcEnvelope1
Gets the PRC envelope 1 paper size if it is specified by the printer.
public PaperSize PrcEnvelope1 { get; }
Public Property PrcEnvelope1 As PaperSize
Property Value
PrcEnvelope10
Gets the PRC envelope 10 paper size if it is specified by the printer.
public PaperSize PrcEnvelope10 { get; }
Public Property PrcEnvelope10 As PaperSize
Property Value
PrcEnvelope10Rotated
Gets the PRC envelope 10 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope10Rotated { get; }
Public Property PrcEnvelope10Rotated As PaperSize
Property Value
PrcEnvelope1Rotated
Gets the PRC envelope 1 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope1Rotated { get; }
Public Property PrcEnvelope1Rotated As PaperSize
Property Value
PrcEnvelope2
Gets the PRC envelope 2 paper size if it is specified by the printer.
public PaperSize PrcEnvelope2 { get; }
Public Property PrcEnvelope2 As PaperSize
Property Value
PrcEnvelope2Rotated
Gets the PRC envelope 2 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope2Rotated { get; }
Public Property PrcEnvelope2Rotated As PaperSize
Property Value
PrcEnvelope3
Gets the PRC envelope 3 paper size if it is specified by the printer.
public PaperSize PrcEnvelope3 { get; }
Public Property PrcEnvelope3 As PaperSize
Property Value
PrcEnvelope3Rotated
Gets the PRC envelope 3 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope3Rotated { get; }
Public Property PrcEnvelope3Rotated As PaperSize
Property Value
PrcEnvelope4
Gets the PRC envelope 4 paper size if it is specified by the printer.
public PaperSize PrcEnvelope4 { get; }
Public Property PrcEnvelope4 As PaperSize
Property Value
PrcEnvelope4Rotated
Gets the PRC envelope 4 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope4Rotated { get; }
Public Property PrcEnvelope4Rotated As PaperSize
Property Value
PrcEnvelope5
Gets the PRC envelope 5 paper size if it is specified by the printer.
public PaperSize PrcEnvelope5 { get; }
Public Property PrcEnvelope5 As PaperSize
Property Value
PrcEnvelope5Rotated
Gets the PRC envelope 5 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope5Rotated { get; }
Public Property PrcEnvelope5Rotated As PaperSize
Property Value
PrcEnvelope6
Gets the PRC envelope 6 paper size if it is specified by the printer.
public PaperSize PrcEnvelope6 { get; }
Public Property PrcEnvelope6 As PaperSize
Property Value
PrcEnvelope6Rotated
Gets the PRC envelope 6 rotated size if it is specified by the printer.
public PaperSize PrcEnvelope6Rotated { get; }
Public Property PrcEnvelope6Rotated As PaperSize
Property Value
PrcEnvelope7
Gets the PRC envelope 7 paper size if it is specified by the printer.
public PaperSize PrcEnvelope7 { get; }
Public Property PrcEnvelope7 As PaperSize
Property Value
PrcEnvelope7Rotated
Gets the PRC envelope 7 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope7Rotated { get; }
Public Property PrcEnvelope7Rotated As PaperSize
Property Value
PrcEnvelope8
Gets the PRC envelope 8 paper size if it is specified by the printer.
public PaperSize PrcEnvelope8 { get; }
Public Property PrcEnvelope8 As PaperSize
Property Value
PrcEnvelope8Rotated
Gets the PRC envelope 8 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope8Rotated { get; }
Public Property PrcEnvelope8Rotated As PaperSize
Property Value
PrcEnvelope9
Gets the PRC envelope 9 paper size if it is specified by the printer.
public PaperSize PrcEnvelope9 { get; }
Public Property PrcEnvelope9 As PaperSize
Property Value
PrcEnvelope9Rotated
Gets the PRC envelope 9 rotated paper size if it is specified by the printer.
public PaperSize PrcEnvelope9Rotated { get; }
Public Property PrcEnvelope9Rotated As PaperSize
Property Value
Quatro
Gets the quatro paper size if it is specified by the printer.
public PaperSize Quatro { get; }
Public Property Quatro As PaperSize
Property Value
Size10By11
Gets the paper size 10 by 11 if it is specified by the printer.
public PaperSize Size10By11 { get; }
Public Property Size10By11 As PaperSize
Property Value
Size10By14
Gets the paper size 10 by 14 if it is specified by the printer.
public PaperSize Size10By14 { get; }
Public Property Size10By14 As PaperSize
Property Value
Size11By17
Gets the paper size 11 by 17 if it is specified by the printer.
public PaperSize Size11By17 { get; }
Public Property Size11By17 As PaperSize
Property Value
Size12By11
Gets the paper size 12 by 11 if it is specified by the printer.
public PaperSize Size12By11 { get; }
Public Property Size12By11 As PaperSize
Property Value
Size15By11
Gets the paper size 15 by 11 if it is specified by the printer.
public PaperSize Size15By11 { get; }
Public Property Size15By11 As PaperSize
Property Value
Size9By11
Gets the paper size 9 by 11 if it is specified by the printer.
public PaperSize Size9By11 { get; }
Public Property Size9By11 As PaperSize
Property Value
Statement
Gets the statement paper size if it is specified by the printer.
public PaperSize Statement { get; }
Public Property Statement As PaperSize
Property Value
Tabloid
Gets the tabloid paper size if it is specified by the printer.
public PaperSize Tabloid { get; }
Public Property Tabloid As PaperSize
Property Value
TabloidExtra
Gets the tabloid extra paper size if it is specified by the printer.
public PaperSize TabloidExtra { get; }
Public Property TabloidExtra As PaperSize
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .