User Guide

258 Fireworks JavaScript API
Arguments
boundingRectangle A rectangle that specifies the size to which the document should be
scaled (see “Rectangle data type” on page 12).
resolution Specifies the resolution for the scaled document (see “Resolution data type
on page 12).
Returns
Nothing.
Description
Scales the document to fit in the specified rectangle at the specified resolution.
dom.setDocumentResolution()
Availability
Fireworks 3.
Usage
dom.setDocumentResolution(resolution)
Arguments
resolution Specifies the resolution for the document (see “Resolution data type
on page 12).
Returns
Nothing.
Description
Sets the resolution of the document.
dom.setEffectName()
Availability
Fireworks MX.
Usage
dom.setEffectName(category, oldName, newName)