Forum und email

PDF_show_boxed

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_show_boxed — Output text in a box

Description

int pdf_show_boxed ( int $pdf document , string $text , double $x-coor , double $y-coor , double $width , double $height , string $mode )

The PDF_show_boxed() function outputs the string text in a box with its lower left position at (x-coor , y-coor ). The boxes dimension is height by width . The parameter mode determines how the text is type set. If width and height are zero, the mode can be "left", "right" or "center". If width or height is unequal zero it can also be "justify" and "fulljustify".

Returns the number of characters that could not be processed because they did not fit into the box.

See also PDF_show(), PDF_show_xy().