Forum und email

cpdf_text

(PHP 4, PHP 5 <= 5.0.5)

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.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja também