Name

template->pfield -- Add a paragraph of variable text to a template

Synopsis

int template->pfield ( int template, float bottom, float left, float top, float right, string name[, string default[, array parameters]] )

Description

This method is used to add a paragraph of variable text to a template.

template must be a valid template ID. bottom, left, top, and right define a bounding box for the paragraph. Text is wrapped at word boundries. The actual text string is defined at the time of placement in the variable array. If not provided, the value in default is used. If default is omitted, the empty string is used. parameters is an array as described in the parameters documentation. If omitted, default values are used.

Examples

See Also

History

This function was added in version 2.2.

Bugs