Description
Calculates the size of all the items in the document and resizes the document canvas to that
size. This action is the same behavior as Modify > Trim Canvas.
Example
The following command resizes the canvas to include all the items in the document, enlarging
the canvas if necessary:
fw.getDocumentDOM().setDocumentCanvasSizeToDocumentExtents(true);
See also
dom.setDocumentCanvasSizeToSelection()
dom.setDocumentCanvasSizeToSelection()
Availability
Fireworks 3.
Usage
dom.setDocumentCanvasSizeToSelection()
Arguments
None.
Returns
Nothing.
Description
Calculates the size of all the items in the selection and resizes the document canvas
accordingly.
See also
dom.setDocumentCanvasSizeToDocumentExtents()
dom.setDocumentImageSize()
Availability
Fireworks 3.
Usage
dom.setDocumentImageSize(boundingRectangle, resolution)
Document functions
257
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers