★ wanayoo — archive 1999 http://www.php.net/manual/fr/function.pdf-close.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to PDF
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageHungarian version of this page
PDF
* PDF_get_info
* PDF_set_info_creator
* PDF_set_info_title
* PDF_set_info_subject
* PDF_set_info_keywords
* PDF_set_info_author
* PDF_open
* PDF_close
* PDF_begin_page
* PDF_end_page
* PDF_show
* PDF_show_boxed
* PDF_show_xy
* PDF_set_font
* PDF_set_leading
* PDF_set_parameter
* PDF_set_text_rendering
* PDF_set_horiz_scaling
* PDF_set_text_rise
* PDF_set_text_matrix
* PDF_set_text_pos
* PDF_set_char_spacing
* PDF_set_word_spacing
* PDF_skew
* PDF_continue_text
* PDF_stringwidth
* PDF_save
* PDF_restore
* PDF_translate
* PDF_scale
* PDF_rotate
* PDF_setflat
* PDF_setlinejoin
* PDF_setlinecap
* PDF_setmiterlimit
* PDF_setlinewidth
* PDF_setdash
* PDF_moveto
* PDF_curveto
* PDF_lineto
* PDF_circle
* PDF_arc
* PDF_rect
* PDF_closepath
* PDF_stroke
* PDF_closepath_stroke
* PDF_fill
* PDF_fill_stroke
* PDF_closepath_fill_stroke
* PDF_endpath
* PDF_clip
* PDF_setgray_fill
* PDF_setgray_stroke
* PDF_setgray
* PDF_setrgbcolor_fill
* PDF_setrgbcolor_stroke
* PDF_setrgbcolor
* PDF_add_outline
* PDF_set_transition
* PDF_set_duration
* PDF_open_gif
* PDF_open_memory_image
* PDF_open_jpeg
* PDF_close_image
* PDF_place_image
* PDF_put_image
* PDF_execute_image
* pdf_add_annotation
Manual: PDF_close
View the source code for this pageSearch the site



Previous page
 PDF_open
 Updated
Sun, 06 Aug 2000
PDF_begin_page 
Next page


PDF_close

(unknown)

PDF_close -- Ferme un document PDF.

Description

void pdf_close (int pdf document)

PDF_close() ferme un document PDF.

Note: A cause de la programmation buggée de pdflib 0.6 fermer un document PDF ferme aussi le fichier associé. Cela ne devrait pas être le cas, puisque pdflib n'a pas ouvert le fichier, mais s'attend à un fichier déjà ouvert, lorsque PDF_open() est appelée. Par conséquent, il ne devrait pas fermer le fichier. Afin de résoudre de problème, mettez en commentaire la ligne 190 dans le fichier p_basic.c de pdflib 0.6 jusqu'à ce qu'une nouvelle version corrige ce bug.

Note: Cette fonction n'a pas besoin de patch avec pdflib, si pdflib 2.0 est activée.

Voir aussi PDF_open(), fclose().


User Contributed Notes: PDF_close


joey@samaritan.com
07-Jan-1999 10:57
<PRE>
According to a dialog I had with<A HREF=mailto:steinm@gehtnix.fernuni-hagen.de>Uwe Steinmann</a> ,
PDF_close actually calls fclose() by itself. This can be fixed by editing
p_basic.c, and removing fclose() the pdf_finalize() function.

This is only true for the outdated version 0.6 of pdflib (US)
</pre>



 About Notes


Previous page
 PDF_open
 Updated
Sun, 06 Aug 2000
PDF_begin_page 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.