User Guide

238 Chapter 5: Fireworks JavaScript API
dom.setTextRectangleAutoFromPoint()
Availability
Fireworks 3.
Usage
dom.setTextRectangleAutoFromPoint(anchorPoint)
Arguments
anchorPoint
A point that specifies the x,y coordinates of the location at which the text box
should be anchored (see “Point data type on page 11). How the point is used depends on the
left-to-right and up-to-down orientation of the text flow in the text block.
Left-justified horizontal text is placed with its top and left edges at anchorPoint, and the text
expands to the right.
Centered horizontal text is centered horizontally around anchorPoint and expands equally to
the left and right.
Centered vertical text is centered vertically around anchorPoint and expands equally up
and down.
Returns
Nothing.
Description
Performs the same function as dom.setTextRectangleAuto(), but lets you pass a point to
specify where the rectangle should be located.
See also
dom.setTextRectangleAuto()
dom.showAllHidden()
Availability
Fireworks 3.
Usage
dom.showAllHidden()
Arguments
None.
Returns
Nothing.
Description
Shows all the items that were hidden through dom.hideSelection().
See also
dom.hideSelection()