User Guide
Document functions 237
Arguments
mode
Acceptable values are "paths" and "pixels".
Returns
Nothing.
Description
Sets the transform mode for the selected text, instance items, or both.
dom.setTextRectangle()
Availability
Fireworks 3.
Usage
dom.setTextRectangle(boundingRectangle)
Arguments
boundingRectangle
A rectangle that specifies the new size within which the text item should
flow (see “Rectangle data type” on page 11).
Returns
Nothing.
Description
Changes the bounding rectangle of the selected text item to the specified size. This function
causes the text to reflow inside the new rectangle; the text item is not scaled or transformed. Text
that does not fit in the new rectangle is not visible.
dom.setTextRectangleAuto()
Availability
Fireworks 3.
Usage
dom.setTextRectangleAuto()
Arguments
None.
Returns
Nothing.
Description
Recalculates the bounding rectangle of the selected text item, setting the rectangle to the smallest
box that encloses the text.
See also
dom.setTextRectangleAutoFromPoint()