User Guide
228 Chapter 5: Fireworks JavaScript API
Description
Sets the color that is used to display slice guides. To set the color of normal guides, use
dom.setGuideColor().
See also
dom.setGuideColor()
dom.setSliceHtml()
Availability
Fireworks 3.
Usage
dom.setSliceHtml(htmlText)
Arguments
htmlText
A string that specifies the HTML text for the slice.
Returns
Nothing.
Description
If a single slice is selected, this function sets the slice’s HTML text.
dom.setSliceIsHtml()
Availability
Fireworks 3.
Usage
dom.setSliceIsHtml(bHtml)
Arguments
bHtml
If bHtml is true, sets the slices as HTML. If bHtml is false, sets the slices as Image.
Returns
Nothing.
Description
Sets the selected slices as HTML or Image.
dom.setSnapToGrid()
Availability
Fireworks 3.
Usage
dom.setSnapToGrid(bSnap)