PDFKit.NET 5.0 PDFKit.NET 5.0

Namespace TallComponents.PDF

Class PageSize

Encapsulates the width and height of a page and provides standard page sizes.

Specify a custom page size in XML: <section> <!-- A4 Landscape --> <pagesize width="297mm" height="210mm" /> <!-- Section content goes here --> </section>

Syntax

public class PageSize : Object

Constructors


Create a new page size with default size (Letter).

Create a new page size with given width and height both in in points.

Properties


297 x 420 mm

210 x 297 mm

148.5 X 210 mm

105 X 148.5 mm

182 x 257 mm

7.25 x 10.5 inch

8.5 x 13 inch

Height in points.

17 x 11 inch

8.5 x 14 inch

8.5 x 11 inch

5.5 x 8.5 inch

11 x 17 inch

Width in points.