<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >cpdf_place_inline_image</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="Manual do PHP" HREF="index.html"><LINK REL="UP" TITLE="ClibPDF Functions" HREF="ref.cpdf.html"><LINK REL="PREVIOUS" TITLE="cpdf_page_init" HREF="function.cpdf-page-init.html"><LINK REL="NEXT" TITLE="cpdf_rect" HREF="function.cpdf-rect.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Manual do PHP</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.cpdf-page-init.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.cpdf-rect.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.cpdf-place-inline-image" ></A >cpdf_place_inline_image</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN17882" ></A ><P > (PHP 3 >= 3.0.9, PHP 4, PHP 5 <= 5.0.4)</P >cpdf_place_inline_image -- Places an image on the page</DIV ><DIV CLASS="refsect1" ><A NAME="AEN17885" ></A ><H2 >Descrição</H2 >bool <B CLASS="methodname" >cpdf_place_inline_image</B > ( int pdf_document, int image, float x_coor, float y_coor, float angle, float width, float height, int gsave [, int mode] )<BR ></BR ><P > Places an image created with the PHP image functions on the page. The image can be scaled at the same time. </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >Nota: </B > This function is only available if PHP was compiled with the GD Graphics Library 1.3. See the <A HREF="ref.image.html#image.requirements" >GD extension</A > installation instructions for further information. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN17921" ></A ><H2 >Parâmetros</H2 ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><CODE CLASS="parameter" > pdf_document</CODE ></DT ><DD ><P >O manipulador do documento, retornado por <A HREF="function.cpdf-open.html" ><B CLASS="function" >cpdf_open()</B ></A >.</P ></DD ><DT ><CODE CLASS="parameter" >image</CODE ></DT ><DD ><P > An image created with the PHP image functions </P ></DD ><DT ><CODE CLASS="parameter" >x_coor</CODE ></DT ><DD ><P > The x-coordinate of the image </P ></DD ><DT ><CODE CLASS="parameter" >y_coor</CODE ></DT ><DD ><P > The y-coordinate of the image </P ></DD ><DT ><CODE CLASS="parameter" >angle</CODE ></DT ><DD ><P > The image rotation angle, in degrees </P ></DD ><DT ><CODE CLASS="parameter" >width</CODE ></DT ><DD ><P > The image width </P ></DD ><DT ><CODE CLASS="parameter" >height</CODE ></DT ><DD ><P > The image height </P ></DD ><DT ><CODE CLASS="parameter" >gsave</CODE ></DT ><DD ><P > Should be non-zero to allow this function to operate correctly </P ></DD ><DT ><CODE CLASS="parameter" > mode</CODE ></DT ><DD ><P >O parâmetro opcional <CODE CLASS="parameter" >mode</CODE > determina o tamanho da unidade. Se for 0 ou omitido a unidade padrão especificada para a pagina é usada. Se não as coordenadas são medidas em pontos postscript não importando a unidade atual.</P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN17972" ></A ><H2 >Valores de retornado</H2 ><P > Retorna <TT CLASS="constant" ><B >TRUE</B ></TT > em caso de sucesso ou <TT CLASS="constant" ><B >FALSE</B ></TT > em falhas. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN17977" ></A ><H2 >Veja também</H2 ><P > <P ></P ><TABLE BORDER="0" ><TBODY ><TR ><TD ><A HREF="function.cpdf-import-jpeg.html" ><B CLASS="function" >cpdf_import_jpeg()</B ></A ></TD ></TR ></TBODY ></TABLE ><P ></P > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.cpdf-page-init.html" ACCESSKEY="P" >Anterior</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Principal</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.cpdf-rect.html" ACCESSKEY="N" >Próxima</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >cpdf_page_init</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.cpdf.html" ACCESSKEY="U" >Acima</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >cpdf_rect</TD ></TR ></TABLE ></DIV ></BODY ></HTML >