★ wanayoo — archive 1999 http://fr.php.net/manual/en/function.cpdf-global-set-document-limits.phpNouvelle recherche | Portail wanayoo
PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<cpdf_finalizecpdf_import_jpeg>
view the version of this page
Last updated: Tue, 31 Aug 2004

cpdf_global_set_document_limits

(PHP 4 , PHP 5)

cpdf_global_set_document_limits -- Sets document limits for any pdf document

Description

bool cpdf_global_set_document_limits ( int maxpages, int maxfonts, int maximages, int maxannotations, int maxobjects)

The cpdf_global_set_document_limits() function sets several document limits. This function has to be called before cpdf_open() to take effect. It sets the limits for any document open afterwards. Returns TRUE on success or FALSE on failure.

See also cpdf_open().



add a note add a note User Contributed Notes
cpdf_global_set_document_limits
mfloryan at bigfoot dot com
22-Sep-2001 11:05
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_finalizecpdf_import_jpeg>
 Last updated: Tue, 31 Aug 2004
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This mirror generously provided by: nexen.net
Last updated: Mon Sep 6 05:24:38 2004 CEST