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: Tue, 22 May 2018 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.