User Guide

Document functions 175
Arguments
bFillDeletedArea This argument is ignored if Fireworks is not in bitmap mode. If
Fireworks is in bitmap mode and
bFillDeletedArea is true, the deleted pixels are filled
with the current fill color. If
false, the deleted pixels are filled to transparent.
Returns
Nothing.
Description
Deletes the selection or the pixel selection if Fireworks is in bitmap mode.
Example
If Fireworks is not in bitmap mode, the following command deletes the selected items.
If Fireworks is in bitmap mode, the following command fills the selected items to transparent.
fw.getDocumentDOM().deleteSelection(false);
dom.deleteSelection()
Availability
Fireworks 3.
Usage
dom.deleteSelection(bFillDeletedArea)
Arguments
bFillDeletedArea This argument is ignored if Fireworks is not in bitmap mode. If
Fireworks is in bitmap mode and
bFillDeletedArea is true, the deleted pixels are filled
with the current fill color. If
false, the deleted pixels are filled to transparent.
Returns
Nothing.
Description
Deletes the selection, or the pixel selection if Fireworks is in bitmap mode.
Example
If Fireworks is not in bitmap mode, the following command deletes the selected items.
If Fireworks is in bitmap mode, the following command fills the selected items to transparent.
fw.getDocumentDOM().deleteSelection(false);