User Guide

68 Chapter 2: The Fireworks Object Model
ImageMap object
The following table lists the properties and methods of the ImageMap object, along with their
data types and, where appropriate, acceptable values and notes. All ImageMap object properties
are read-only.
tableAlignment
string A string that contains the alignment of the
table. If the table is left-aligned, the string is
simply a space (this is used for writing the
HTML table). If the table is center-aligned,
the string is
"align="center"". If the table is
right-aligned, the string is
"align="right"".
width
integer Width of the image being exported, in pixels.
In the Slices.htt file, it is the total width of the
output images.
xhtmlFormat
Boolean Determines whether Fireworks outputs
XHTML-formatted files (
true) or HTML-
formatted files (
false) when the user exports
a file.
Property (read-only) or Method Data type Notes
altText
string The alternate text description for this slice,
if any.
behaviors
object BehaviorsList object that contains the
behaviors for this slice (see “BehaviorsList
object” on page 65).
hasAltText
Boolean Set to true if the slice has an alternate
text description.
hasHref
Boolean Set to true if the slice has a URL.
hasTargetText
Boolean Set to true if the target text is not empty.
href
string The URL link for this slice, which is
expressed as file://URL.
numCoords
integer Number of coordinates in the area. A circle
always has 1 (the center), a rectangle has 2
(top left and bottom right), and a polygon has
1 or more.
radius
integer Radius of the area, if shape is "circle".
shape
string Acceptable values are "circle", "poly",
and
"rect".
targetText
string Target text for this image, if any.
Property (read-only) Data type Notes