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

cpdf_open

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_open -- Opens a new pdf document

Описание

int cpdf_open ( int compression [, string filename [, array doc_limits]] )

Opens a new PDF document.

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

compression

If different from 0, document compression is turned on

filename

Sets the file in which the document is written. - is a synonym for stdout.

If omitted, the document is created in memory and can either be written into a file with cpdf_save_to_file() or written to standard output with cpdf_output_buffer().

Замечание: Using stdout will not work if PHP is compiled as an apache module. You can solve this problem by skipping this parameter filename and using cpdf_output_buffer() later to output the PDF document.

doc_limits

An array defining the document limitation. See cpdf_global_set_document_limits() for more information

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

Returns a document handle, needed as the first parameter for all other functions of the library.

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

cpdf_close()
cpdf_output_buffer()



add a note add a note User Contributed Notes
cpdf_open
There are no user contributed notes for this page.

cpdf_output_buffer> <cpdf_newpath
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