As cpdf_open in PHP does not support changing PDF document limits unlike the original function in CpdfLib you have to use this function to create big PDF files.<br>Default maximum number of pages in your PDF file is 100. Just be aware that if you use this function with wrong arguments you might get the segmentation fault error. Best is to use the first parameter to set the desired number of pages and leave default for other (by setting their value to -1).
cpdf_global_set_document_limits
(PHP 4, PHP 5 <= 5.0.5)
cpdf_global_set_document_limits — Nastavuje limity dokumentu pre každý pdf dokument
Popis
void cpdf_global_set_document_limits
( int $maxpages
, int $maxfonts
, int $maximages
, int $maxannotations
, int $maxobjects
)
Funkcia cpdf_global_set_document_limits() nastavuje niekoľko limít dokumentu. Aby došlo k zmenám, musí sa táto funkcia volať pred cpdf_open(). Tá nastavuje limity pre všetky následne otvorené dokumenty.
Tiež pozri cpdf_open().
cpdf_global_set_document_limits
mfloryan at bigfoot dot com
22-Sep-2001 02:05
22-Sep-2001 02:05
