PEAR Manual
Prev |  | Next

# Image_Text::render()

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

## Synopsis

    require_once 'ImageText.php';

``bool Image_Text::render` (bool [$force = `FALSE`])`

## Description

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).

## Parameter

boolean `$force`

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

## Return value

returns True on success, otherwise PEAR::Error.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

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