User Guide

150 Fireworks JavaScript API
bOkToIncreaseSize Specifies whether the export file size can be increased.
If bOkToIncreaseSize is true, and the current size is less than sizeInBytes, the argument
increases the quality of the export settings as much as possible, making the export size
larger if necessary.
If bOkToIncreaseSize is false, the argument increases the quality of the export settings
as much as possible without increasing the export size.
Description
Adjusts the export settings as specified.
dom.adjustFontSize()
Availability
Fireworks MX.
Usage
dom.adjustFontSize(amount)
Arguments
amount The amount, specified in points, by which to change the font size. Positive values
(such as
"2pt") increase the size, while negative values (such as "-1pt") decrease the size.
Returns
Nothing.
Description
Increases (positive values) or decreases (negative values) the font size of selected text elements.
If a text element has multiple font sizes, each size is adjusted independently.
dom.align()
Availability
Fireworks 3. Align to canvas parameter is only available in Fireworks 8.
Usage
dom.align(alignmode, alignToCanvas)