User Guide

212 Chapter 5: Fireworks JavaScript API
Arguments
gridSize
A point that specifies the x,y coordinates that are used for the documents grid size
(see “Point data type” on page 11).
Returns
Nothing.
Description
Sets the grid size for the document.
dom.setGridColor()
Availability
Fireworks 3.
Usage
dom.setGridColor(gridColor)
Arguments
gridColor
A color string (see “Color string data type” on page 11).
Returns
Nothing.
Description
Sets the color used to display the grid.
dom.setGroupType()
Availability
Fireworks 3, argument deprecated in 4.
Usage
dom.setGroupType({type})
Arguments
type
An optional string that specifies how to group the items. Acceptable values are "normal",
"mask to image", and "mask to path". If the argument is omitted, "normal" is assumed.
(
"mask to image" and "mask to path" are deprecated in Fireworks 4.)
Returns
Nothing.
Description
Changes the group type of the currently selected groups.