![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual Download Page 155](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145155.webp)
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.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...