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);
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...