PHP 手冊
上一頁 |  | 下一頁

# cpdf_end_text

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

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(). 成功回傳`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) ?>`

See also cpdf_begin_text().

上一頁 | 最開頭 | 下一頁
cpdf_curveto | 上一層 | cpdf_fill_stroke