![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Скачать руководство пользователя страница 197](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145197.webp)
Document functions
197
Arguments
None.
Returns
One of the following strings:
"left"
,
"center"
,
"right"
,
"justify"
,
"stretch"
,
"vertical left"
,
"vertical center"
,
"vertical right"
,
"vertical justify"
, or
"vertical stretch"
. Returns
null
if the text has multiple alignments or if the selection
contains no text.
Description
Gets the alignment of selected text.
dom.group()
Availability
Fireworks 3, argument deprecated in 4.
Usage
dom.group({
type
})
Arguments
type
An optional string that specifies how to group the items. Acceptable values are
"normal"
,
"mask to image"
, and
"mask to path"
. If the argument is omitted,
"normal"
is
assumed. In Fireworks 4,
"mask to image"
and
"mask to path"
are deprecated.
Returns
Nothing.
Description
Groups the selection. To ungroup elements use
dom.ungroup()
(see
“dom.ungroup()”
on page 305
).
Example
The following command sets the selected group to mask to the image:
replace with fw.getDocumentDOM().group("normal");
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...