PEAR Manual
Prev |  | Next

# Image_Text::measurize()

Image_Text::measurize() -- Measurize text into the text box

## Synopsis

    require_once 'ImageText.php';

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

## Description

This method makes your text fit into the defined textbox by measurizing the lines for your given font-size. You can do this manually before rendering (or use even Image_Text::autoMeasurize()) or the renderer will do measurizing automatically.

## Parameter

boolean `$force`

  Optionally, default is `FALSE`, set `TRUE` to force measurizing.

## Return value

returns Array of measured lines or PEAR::Error.

## Throws

throws no exceptions thrown

## See

see Image_Text::autoMeasurize()

## Note

This function can not be called statically.

Prev | Home | Next
Image_Text::init() | Up | Image_Text::render()