User Guide

230 Chapter 5: Fireworks JavaScript API
dom.setTextAlignment()
Availability
Fireworks 3.
Usage
dom.setTextAlignment(alignment)
Arguments
alignment
Acceptable values alignment are "left", "center", "right", "justify",
"stretch", "vertical left", "vertical center", "vertical right", "vertical
justify"
, and "vertical stretch".
Returns
Nothing.
Description
Sets the alignment of the selected text items.
dom.setTextAntiAliasing()
Availability
Fireworks 3.
Usage
dom.setTextAntiAliasing(level)
Arguments
level
Acceptable values are "crisp", "smooth", and "strong".
Returns
Nothing.
Description
Sets the anti-aliasing level for the selected blocks of text.
Note: To turn anti-aliasing on or off, call dom.enableTextAntiAliasing.
See also
dom.enableTextAntiAliasing()
dom.setTextAutoKern()
Availability
Fireworks 3.
Usage
dom.setTextAutoKern(bKern)