User Guide

48 Chapter 2: The Fireworks Object Model
ExportPaletteInfo object
The following table lists the properties of the ExportPaletteInfo object, along with their data types
and, where appropriate, acceptable values and notes.
paletteMode
string Acceptable values are "adaptive" (the
default),
"custom", "grid", "monochrome",
"Macintosh", "Windows", "exact", and
"Web 216".
paletteTransparencyType
string Acceptable values are "none" (the default),
"index", "index alpha", and "rgba".
percentScale
integer 1 to 100,000; default value is 100.
progressiveJPEG
Boolean The default value is false.
savedAnimationRepeat
integer The default value is 0.
sorting
string Acceptable values are "none" (the default),
"luminance", and "popularity".
transparencyIndex
integer -1 to 255; pass -1 to use the background
color’s index; default value is
-1.
useScale
Boolean The default value is true.
webSnapAdaptive
Boolean The default value is true.
webSnapTolerance
integer The default value is 14.
xSize
integer -100,000 to 100,000; default value is 0.
See “ExportOptions object” on page 46 for
details on using
xSize and ySize.
ySize
integer -100,000 to 100,000; default value is 0.
See “ExportOptions object” on page 46 for
details on using
xSize and ySize.
Property Data type Notes
colorLocked
Boolean Set to true if the color is locked in the panel.
The default value is
false.
colorModified
Boolean Set to true if the color was edited. The
default value is
false.
colorSelected
Boolean Set to true if the color is selected in the
panel (selection is a temporary attribute). The
default value is
false.
colorTransparent
Boolean Set to true if the color is exported as
transparent. The default value is
false.
newColorValue
string If colorModified is set to true, specifies the
color that will actually be used. The default
value is
"#000000".
Property Data type Notes