Skip to content

PdfPageSize Class

Definition

Namespace: Xfinium.Pdf

Defines a predefined size for PDF pages.

C#
public class PdfPageSize : Object

Inheritance: Object → PdfPageSize

Constructor

Name Description
PdfPageSize(String,Double,Double) Initializes a new PdfPageSize object with the specified size.

Fields

Name Description
A0 Gets the size of the A0 paper.
A1 Gets the size of the A1 paper.
A10 Gets the size of the A10 paper.
A2 Gets the size of the A2 paper.
A3 Gets the size of the A3 paper.
A4 Gets the size of the A4 paper.
A5 Gets the size of the A5 paper.
A6 Gets the size of the A6 paper.
A7 Gets the size of the A7 paper.
A8 Gets the size of the A8 paper.
A9 Gets the size of the A9 paper.
B0 Gets the size of the B0 paper.
B1 Gets the size of the B1 paper.
B10 Gets the size of the B10 paper.
B2 Gets the size of the B2 paper.
B3 Gets the size of the B3 paper.
B4 Gets the size of the B4 paper.
B5 Gets the size of the B5 paper.
B6 Gets the size of the B6 paper.
B7 Gets the size of the B7 paper.
B8 Gets the size of the B8 paper.
B9 Gets the size of the B9 paper.
C0 Gets the size of the C0 paper.
C1 Gets the size of the C1 paper.
C10 Gets the size of the C10 paper.
C2 Gets the size of the C2 paper.
C3 Gets the size of the C3 paper.
C4 Gets the size of the C4 paper.
C5 Gets the size of the C5 paper.
C6 Gets the size of the C6 paper.
C7 Gets the size of the C7 paper.
C8 Gets the size of the C8 paper.
C9 Gets the size of the C9 paper.
Delta Delta value that is used when determining if a given size matches a predefined size.
Executive Gets the size of the Executive paper.
Folio Gets the size of the Folio paper.
Ledger Gets the size of the Ledger paper.
Legal Gets the size of the Legal paper.
Letter Gets the size of the Letter paper.
Quarto Gets the size of the Quarto paper.
Statement Gets the size of the Statement paper.
Tabloid Gets the size of the Tabloid paper.

Properties

Name Description
Height Gets the page height in PDF points.
Name Gets the name of the predefined page size.
Width Gets the page width in PDF points.

Methods

Name Description
Equals Compares this object with another object.
GetHashCode Gets the object's hash code.
GetPredefinedPageSize Gets the predefined page size that matches the given dimensions.
IsMatch Tests if the given object matches this object when the size different is less than delta.
ToString Converts the object to string representation.