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.