search for in the  
<cpdf_curvetocpdf_fill_stroke>
Last updated: Thu, 19 May 2005

cpdf_end_text

(PHP 3 >= 3.0.8, PHP 4, PECL)

cpdf_end_text -- Ends text section

Description

bool cpdf_end_text ( int pdf_document )

The cpdf_end_text() function ends a text section which was started with cpdf_begin_text(). Returns TRUE on success or FALSE on failure.

Example 1. Text output

<?php
cpdf_begin_text
($pdf);
cpdf_set_font($pdf, 16, "Helvetica", "WinAnsiEncoding");
cpdf_text($pdf, 100, 100, "Some text");
cpdf_end_text($pdf)
?>

See also cpdf_begin_text().



User Contributed Notes
cpdf_end_text
There are no user contributed notes for this page.

<cpdf_curvetocpdf_fill_stroke>
 Last updated: Thu, 19 May 2005
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: The Server Pages
Last updated: Thu May 19 17:35:34 2005 CDT