cpdf_text

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

cpdf_text -- Output text with parameters

Descrição

bool cpdf_text ( int pdf_document, string text [, float x_coor, float y_coor [, int mode [, float orientation [, int alignmode]]]] )

Outputs the string text at the given position.

Parâmetros

pdf_document

O manipulador do documento, retornado por cpdf_open().

text

The text

x_coor

The x-coordinate of the text position

y_coor

The y-coordinate of the text position

mode

O parâmetro opcional mode determina o tamanho da unidade. Se for 0 ou omitido a unidade padrão especificada para a pagina é usada. Se não as coordenadas são medidas em pontos postscript não importando a unidade atual.

orientation

Rotation of the text in degrees

alignmode

Determines how the text is aligned. See the ClibPDF documentation for possible values.

Valores de retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também

cpdf_show_xy()