PHP Manual
Prev |  | Next

# cpdf_set_text_rendering

cpdf_set_text_rendering -- Determines how text is rendered

## Description

`void cpdf_set_text_rendering`(int pdf document, int mode);

The cpdf_set_text_rendering() function determines how text is rendered. The possible values for `mode` are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible, 4=fill text and add it to cliping path, 5=stroke text and add it to clipping path, 6=fill and stroke text and add it to cliping path, 7=add it to clipping path.

Prev | Home | Next
cpdf_set_leading | Up | cpdf_set_horiz_scaling