PHP: cpdf_end_text - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

cpdf_fill_stroke cpdf_curveto

Last updated: Sat, 27 Jan 2007

view this page in

# cpdf_end_text

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

cpdf_end_text -- Ends text section

## Описание

bool cpdf_end_text ( int pdf_document )

Ends a text section which was started with cpdf_begin_text().

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

`pdf_document`

  The document handle, returned by cpdf_open().

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

Возвращает `TRUE` в случае успешного завершения или `FALSE` в случае возникновения ошибки.

## Примеры

Пример 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)
?>`

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

cpdf_begin_text()

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

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST