Forum und email

cpdf_begin_text

(PHP 4, PHP 5 <= 5.0.5)

cpdf_begin_text — Starts text section

설명

bool cpdf_begin_text ( int $pdf_document )

Starts a text section.

The created text section must be ended with cpdf_end_text().

매개변수

pdf_document

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)
?>