User Guide

232 Fireworks JavaScript API
dom.restoreJPEGMask()
Availability
Fireworks 4.
Usage
dom.restoreJPEGMask()
Arguments
None.
Returns
Nothing.
Description
Restores the selection that is specified in dom.saveJPEGMask().
See also
dom.saveJPEGMask()
dom.restoreSelection()
Availability
Fireworks 4.
Usage
dom.restoreSelection(selectionName, fromDocument, {operation}, {invert})
Arguments
selectionName User-specified name of the selection to restore. If selection name is not
specified, the selection named
"default" will be restored.
fromDocument Index of a currently open document from which to load the selection. If the
from document is not specified, the selection will be restored from the active document.
operation Operation to perform on the selection and on the document being loaded.
Acceptable values are
"new or replace", "add", "subtract", and "intersect". This
parameter is optional. If the operation is not specified, Fireworks will behave as if
"new or
replace"
is specified.
invert A Boolean value that determines if the selection should be inverted before
performing the operation on it. This parameter is optional. If
invert is not specified, defaults
to
false.