PdfPageSize Class
Represents information about various predefined page sizes.
Inheritance
System.Object
PdfPageSize
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public sealed class PdfPageSize
Examples
//Create new document.
PdfDocument document = new PdfDocument();
//Set page size for document.
document.PageSettings.Size = PdfPageSize.A4;
//Save and close the document.
document.Save("Output.pdf");
document.Close(true);
'Create new document.
Dim document As PdfDocument = New PdfDocument()
'Set page page for document.
document.PageSettings.Size = PdfPageSize.A4
'Save and close the document.
document.Save("Output.pdf")
document.Close(True)
Fields
A0
A0 format.
Declaration
public static readonly SizeF A0
Field Value
Type |
---|
System.Drawing.SizeF |
A1
A1 format.
Declaration
public static readonly SizeF A1
Field Value
Type |
---|
System.Drawing.SizeF |
A10
A10 format.
Declaration
public static readonly SizeF A10
Field Value
Type |
---|
System.Drawing.SizeF |
A2
A2 format.
Declaration
public static readonly SizeF A2
Field Value
Type |
---|
System.Drawing.SizeF |
A3
A3 format.
Declaration
public static readonly SizeF A3
Field Value
Type |
---|
System.Drawing.SizeF |
A4
A4 format.
Declaration
public static readonly SizeF A4
Field Value
Type |
---|
System.Drawing.SizeF |
A5
A5 format.
Declaration
public static readonly SizeF A5
Field Value
Type |
---|
System.Drawing.SizeF |
A6
A6 format.
Declaration
public static readonly SizeF A6
Field Value
Type |
---|
System.Drawing.SizeF |
A7
A7 format.
Declaration
public static readonly SizeF A7
Field Value
Type |
---|
System.Drawing.SizeF |
A8
A8 format.
Declaration
public static readonly SizeF A8
Field Value
Type |
---|
System.Drawing.SizeF |
A9
A9 format.
Declaration
public static readonly SizeF A9
Field Value
Type |
---|
System.Drawing.SizeF |
ArchA
ArchA format.
Declaration
public static readonly SizeF ArchA
Field Value
Type |
---|
System.Drawing.SizeF |
ArchB
ArchB format.
Declaration
public static readonly SizeF ArchB
Field Value
Type |
---|
System.Drawing.SizeF |
ArchC
ArchC format.
Declaration
public static readonly SizeF ArchC
Field Value
Type |
---|
System.Drawing.SizeF |
ArchD
ArchD format.
Declaration
public static readonly SizeF ArchD
Field Value
Type |
---|
System.Drawing.SizeF |
ArchE
ArchE format.
Declaration
public static readonly SizeF ArchE
Field Value
Type |
---|
System.Drawing.SizeF |
B0
B0 format.
Declaration
public static readonly SizeF B0
Field Value
Type |
---|
System.Drawing.SizeF |
B1
B1 format.
Declaration
public static readonly SizeF B1
Field Value
Type |
---|
System.Drawing.SizeF |
B2
B2 format.
Declaration
public static readonly SizeF B2
Field Value
Type |
---|
System.Drawing.SizeF |
B3
B3 format.
Declaration
public static readonly SizeF B3
Field Value
Type |
---|
System.Drawing.SizeF |
B4
B4 format.
Declaration
public static readonly SizeF B4
Field Value
Type |
---|
System.Drawing.SizeF |
B5
B5 format.
Declaration
public static readonly SizeF B5
Field Value
Type |
---|
System.Drawing.SizeF |
Flsa
The American Foolscap format.
Declaration
public static readonly SizeF Flsa
Field Value
Type |
---|
System.Drawing.SizeF |
HalfLetter
HalfLetter format.
Declaration
public static readonly SizeF HalfLetter
Field Value
Type |
---|
System.Drawing.SizeF |
Ledger
Ledger format.
Declaration
public static readonly SizeF Ledger
Field Value
Type |
---|
System.Drawing.SizeF |
Legal
Legal format.
Declaration
public static readonly SizeF Legal
Field Value
Type |
---|
System.Drawing.SizeF |
Letter
Letter format.
Declaration
public static readonly SizeF Letter
Field Value
Type |
---|
System.Drawing.SizeF |
Letter11x17
11x17 format.
Declaration
public static readonly SizeF Letter11x17
Field Value
Type |
---|
System.Drawing.SizeF |
Note
Note format.
Declaration
public static readonly SizeF Note
Field Value
Type |
---|
System.Drawing.SizeF |