Arguments
A rectangle that specifies the bounds of the image to be added (see
boundingRectangle
"Rectangle data type" on page
12). You cannot create an image that is larger than the
document; therefore, if you pass in a rectangle with bounds larger than the document size,
you can create an image that is constrained to the document size.
If
is
, the application immediately enters bitmap
bEnterPaintMode
bEnterPaintMode
true
mode for the new image.
Returns
Nothing.
Description
Adds a new empty (transparent) image to the document.
Example
The following command adds an empty image that is 500 by 500 pixels in size, and then
enters bitmap mode:
fw.getDocumentDOM().addNewImage({left:0, top:0, right:500, bottom:500},
true);
dom.addNewImageViaCopy()
Availability
Fireworks MX.
Usage
dom.addNewImageViaCopy()
Arguments
None.
Returns
Nothing.
Description
Adds a new image to the document containing the contents of the current paint-mode
selection. The new image is placed directly above the active bitmap. You must have a current
pixel selection for this to succeed. The new bitmap appears with Fireworks in paint mode.
Document functions
141
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers