略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: PDF_begin_page_ext

2024-11-15

PDF_begin_page_ext

(PECL pdflib >= 2.0.0)

PDF_begin_page_extStart new page

说明

PDF_begin_page_ext ( resource $pdfdoc , float $width , float $height , string $optlist ) : bool

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. 成功时返回 TRUE, 或者在失败时返回 FALSE

Common Page Sizes in Points
name size
A0 2380 x 3368
A1 1684 x 2380
A2 1190 x 1684
A3 842 x 1190
A4 595 x 842
A5 421 x 595
A6 297 x 421
B5 501 x 709
letter (8.5" x 11") 612 x 792
legal (8.5" x 14") 612 x 1008
ledger (17" x 11") 1224 x 792
11" x 17" 792 x 1224
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.pdf-begin-page-ext.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3