• Products
  • Pricing
  • Documentation
  • Support
Login
Your cart is empty. See pricing.
My order
Total:
Order
  • Home
  • Products
  • Pricing
  • Documentation
  • Support
Login
LinkedIn
Twitter
  • Guide
  • API reference
  • Code samples
  • Changelog
  • TallComponents
  • TallComponents.Licensing
  • TallComponents.PDF.Layout
  • TallComponents.PDF.Layout.Actions
  • TallComponents.PDF.Layout.Brushes
  • TallComponents.PDF.Layout.Colors
  • TallComponents.PDF.Layout.Css
  • TallComponents.PDF.Layout.Fonts
  • TallComponents.PDF.Layout.JavaScript
  • TallComponents.PDF.Layout.Metadata
  • TallComponents.PDF.Layout.Navigation
  • TallComponents.PDF.Layout.Paragraphs
  • TallComponents.PDF.Layout.Pens
  • TallComponents.PDF.Layout.ResourceLoader
  • TallComponents.PDF.Layout.Security
  • TallComponents.PDF.Layout.Shapes
  • TallComponents.PDF.Layout.Shapes.Annotations
  • TallComponents.PDF.Layout.Shapes.Barcodes
  • TallComponents.PDF.Layout.Shapes.Fields
  • TallComponents.PDF.Layout.Xml

Namespace TallComponents.PDF.Layout

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

PageSize()
Create a new page size with default size (Letter).
PageSize(Double,Double)
Create a new page size with given width and height both in in points.

Properties

PageSize A3
297 x 420 mm
PageSize A4
210 x 297 mm
PageSize A5
148.5 X 210 mm
PageSize A6
105 X 148.5 mm
PageSize B5
182 x 257 mm
PageSize Executive
7.25 x 10.5 inch
PageSize Folio
8.5 x 13 inch
Double Height
Height in points.
PageSize Ledger
17 x 11 inch
PageSize Legal
8.5 x 14 inch
PageSize Letter
8.5 x 11 inch
PageSize Statement
5.5 x 8.5 inch
PageSize Tabloid
11 x 17 inch
Double Width
Width in points.
Our products
PDFKit.NET 5.0
Create and manipulate PDF documents
TallPDF.NET 5.0
Generate PDF on the fly
PDFRasterizer.NET 4.0
Render PDF pages cross-platform
Support resources
  • Code samples
  • Submit issue
  • Contact
  • Licensing Model
Legal
  • EULA
  • Privacy
LinkedIn
Twitter
© 2001-2025 TallComponents BV. All rights reserved.