User Guide
Document functions 155
dom.applyFontMarkup()
Availability
Fireworks 3.
Usage
dom.applyFontMarkup(fontAttribute, value)
Arguments
fontAttribute Acceptable values for fontAttribute are "size" and "face".
value If fontAttribute is "size", value must be of the form "XXXpt" to specify a point
size; a simple numeric value is not allowed.
Returns
Nothing.
Description
Applies the specified font markup attribute to the selected text.
dom.applyStyle()
Availability
Fireworks 3.
Usage
dom.applyStyle(styleName, styleIndex)
Arguments
styleName A string that specifies the style name to be applied.
styleIndex An index to the style to apply. This is usually zero. However, if there are
multiple styles with the same name,
styleIndex is used to resolve the ambiguity (0 references
the first style with that name, 1 references the second, and so on).
Returns
Nothing.
Description
Applies the specified style to the selection.