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.
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...