PEAR Manual
Prev |  | Next

# Image_Text::init()

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

## Synopsis

    require_once 'ImageText.php';

``bool Image_Text::init` ()`

## Description

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

throws no exceptions thrown

## See

see Image_Text::set()

## Note

This function can not be called statically.

Prev | Home | Next
Image_Text::getImg() | Up | Image_Text::measurize()