Image_Text::render() – Render the text in the canvas using the given options.


require_once 'ImageText.php';

bool Image_Text::render ( bool $force = false )


This renders the measurized text or automatically measures it first. The $force parameter can be used to switch of measurizing problems (this may cause your text being rendered outside a given text box or destroy your image completely).


boolean $force

Optional, initially FALSE, set TRUE to silence measurize errors.

Return value

returns True on success, otherwise PEAR::Error.


throws no exceptions thrown


This function can not be called statically.

Measurize text into the text box (Previous) Save image canvas. (Next)
Last updated: Sat, 03 Oct 2015 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.