PDF_begin_page_ext
(PECL)
PDF_begin_page_ext -- Start new page
Description
bool
PDF_begin_page_ext ( resource pdfdoc, float width, float height, string optlist )
Adds a new page to the document, and specifies various options.
The parameters width
and height
are the dimensions of the new page in points. Returns TRUE on success or FALSE on failure.
Table 1. Common Page Sizes in Points
name | size |
---|
A0 | 2380✗3368 |
A1 | 1684✗2380 |
A2 | 1190✗1684 |
A3 | 842✗1190 |
A4 | 595✗842 |
A5 | 421✗595 |
A6 | 297✗421 |
B5 | 501✗709 |
letter (8.5"✗11") | 612✗792 |
legal (8.5"✗14") | 612✗1008 |
ledger (17"✗11") | 1224✗792 |
11"✗17" | 792✗1224 |