您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

cpdf_set_text_rendering

(PHP 4, PHP 5 <= 5.0.5)

cpdf_set_text_rendering — Determines how text is rendered

说明

bool cpdf_set_text_rendering ( int $pdf_document , int $rendermode )

Determines how the text is rendered.

参数

pdf_document

The document handle, returned by cpdf_open().

rendermode

The possible values for rendermode are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible, 4=fill text and add it to clipping path, 5=stroke text and add it to clipping path, 6=fill and stroke text and add it to clipping path, 7=add it to clipping path.

返回值

如果成功则返回 TRUE,失败则返回 FALSE