User Guide
Document functions 255
Description
Resets the document’s brush and fill color to the default.
dom.setDefaultFillVector()
Availability
Fireworks 3.
Usage
dom.setDefaultFillVector()
Arguments
None.
Returns
Nothing.
Description
Sets the fill-vector on the selection to the default.
dom.setDocumentCanvasColor()
Availability
Fireworks 3.
Usage
dom.setDocumentCanvasColor(color)
Arguments
color A color string (see “Color string data type” on page 11).
Returns
Nothing.
Description
Sets the canvas color of the document to the specified color.
Example
The following command sets the canvas color to blue:
fw.getDocumentDOM().setDocumentCanvasColor("#0000ff");