236
Fireworks JavaScript API
Description
Stores the current selection in bitmap mode as the “Selective JPEG mask”. Use
dom.restoreJPEGMask()
to restore the JPEG mask.
See also
dom.restoreJPEGMask()
dom.saveSelection()
Availability
Fireworks 4.
Usage
dom.saveSelection({
selectionName
}, {
toDocument
}, {
operation
})
Arguments
selectionName
User-specified name of the selection to save. This parameter is optional. If
selectionName
is not specified, Fireworks will save the selection with the name
"default"
.
toDocument
Index of a currently open document where the selection will be saved. This
parameter is optional. If
toDocument
is not specified, Fireworks will save the selection to the
active document.
operation
The operation to be performed on the selection and on the selection being
loaded from the
selectionName
parameter. Acceptable values are
"new or replace"
,
"add"
,
"subtract"
, and
"intersect"
. This parameter is optional. If
operation
is not
specified, Fireworks treats it as if it were specified as
"new or replace"
.
Returns
Nothing.
Description
Stores the current selection in bitmap mode as the saved selection. Use
dom.restoreSelection()
to restore the selection.
See also
dom.restoreSelection()
Содержание FIREWORKS 8-EXTENDING FIREWORKS
Страница 1: ...Extending Fireworks ...
Страница 4: ...4 Contents ...
Страница 358: ...358 Fireworks JavaScript API ...
Страница 372: ...372 Index ...