Image_Text::init() – Initialiaze the Image_Text object.


require_once 'ImageText.php';

bool Image_Text::init ( )


This method has to be called after setting the options for your Image_Text object. It initializes the canvas, normalizes some data and checks important options. Be shure to check the initialization after you switched some options. The set() method may force you to reinitialize the object.

Return value

returns True on success, otherwise PEAR::Error.


throws no exceptions thrown


This function can not be called statically.

Return the image ressource. (Previous) Measurize text into the text box (Next)
Last updated: Fri, 18 Jan 2019 — 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.