cpdf_stroke> <cpdf_show
Last updated: Mon, 28 Dec 2009

cpdf_stringwidth

(PHP 4, PHP 5 <= 5.0.5)

cpdf_stringwidth — Returns width of text in current font

Descrição

float cpdf_stringwidth ( int $pdf_document , string $text )

Returns the width of the string in text .

This function requires a font to be set before.

Parâmetros

pdf_document

O manipulador do documento, retornado por cpdf_open().

text

The text, as a string

Valor Retornado

Returns the width of text .

Veja também



User Contributed Notes
cpdf_stringwidth
There are no user contributed notes for this page.

cpdf_stroke> <cpdf_show
Last updated: Mon, 28 Dec 2009