Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > ebb1914cf182a88528b4547490db1dd8 > files > 1280

kdewebdev-quanta-doc-3.5.9-2mdv2008.1.x86_64.rpm

<HTML
><HEAD
><TITLE
>PDF_open</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="manual.html"><LINK
REL="UP"
TITLE="PDF functions"
HREF="ref.pdf.html"><LINK
REL="PREVIOUS"
TITLE="PDF_set_info_author"
HREF="function.pdf-set-info-author.html"><LINK
REL="NEXT"
TITLE="PDF_close"
HREF="function.pdf-close.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.pdf-set-info-author.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.pdf-close.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.pdf-open"
>PDF_open</A
></H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN21344"
></A
>PDF_open -- Opens a new pdf document</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN21347"
></A
><H2
>Description</H2
><DIV
CLASS="funcsynopsis"
><P
></P
><CODE
CLASS="FUNCDEF"
>int pdf_open</CODE
>(int file, int info);<P
></P
></DIV
><P
>&#13;     The <B
CLASS="function"
>PDF_open()</B
> function opens
     a new pdf document. The corresponding file has to be opened
     with <A
HREF="function.fopen.html"
><B
CLASS="function"
>fopen()</B
></A
> and the file descriptor passed
     as argument <TT
CLASS="parameter"
><I
>file</I
></TT
>. <TT
CLASS="parameter"
><I
>info</I
></TT
>
     is the info structure that has to be created with
     <A
HREF="function.pdf-get-info.html"
><B
CLASS="function"
>pdf_get_info()</B
></A
>. The info structure will be deleted
     within this function.

    <DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
     The return value is needed as the first parameter in all other
     functions writing to the pdf document.
    </P
></BLOCKQUOTE
></DIV
>

    <DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
     This function does not allow the second parameter if pdflib 2.0 support
     is activated.
    </P
></BLOCKQUOTE
></DIV
></P
><P
>&#13;     See also <A
HREF="function.fopen.html"
><B
CLASS="function"
>fopen()</B
></A
>,
              <B
CLASS="function"
>PDF_get_info()</B
>,
              <B
CLASS="function"
>PDF_close()</B
>.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.pdf-set-info-author.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="manual.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.pdf-close.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>PDF_set_info_author</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.pdf.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>PDF_close</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>