Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

cpdf_global_set_document_limits

(PHP 4, PHP 5 <= 5.0.4)

cpdf_global_set_document_limits -- Sets document limits for any pdf document

Описание

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

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.

Список параметров

maxPages

The maximum number of pages

maxFonts

The maximum number of fonts

maxImages

The maximum number of images

maxAnnots

The maximum number of annotations

maxObjects

The maximum number of objects

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Смотрите также

cpdf_open()



add a note add a note User Contributed Notes
cpdf_global_set_document_limits
mfloryan at bigfoot dot com
22-Sep-2001 02: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_import_jpeg> <cpdf_finalize
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571