ClibPDF
PHP Manual

cpdf_end_text

(PHP 4, PHP 5 <= 5.0.5)

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

范例

Example#1 Text output

<?php
cpdf_begin_text
($pdf);
cpdf_set_font($pdf16"Helvetica""WinAnsiEncoding");
cpdf_text($pdf100100"Some text");
cpdf_end_text($pdf)
?>

参见


ClibPDF
PHP Manual