User Guide

Document functions 295
Arguments
horizScale A floating-point number that describes how much to scale the text characters
horizontally. A value of
1.0 is normal. Values greater than 1.0 make the characters wider, and
values less than
1.0 make the characters narrower.
Returns
Nothing.
Description
Sets the horizontal scaling of text. For vertical text mode, this function stretches or compresses
the height of the characters.
dom.setTextLeading()
Availability
Fireworks MX.
Usage
dom.setTextLeading(leadingValue, leadingMode)
Arguments
leadingValue A floating-point number that determines the spacing between two lines of
text. The meaning of
leadingValue depends on leadingMode.
leadingMode Acceptable values are "exact" or "percentage". If set to "exact",
leadingValue is the number of pixels between two lines of text. If set to "percentage",
leadingValue is a percentage of the default leading; 1.0 is the default leading, 0.5 is half the
default leading, and 2.0 is double the default leading.
Returns
Nothing.
Description
Sets the leading between lines of text. For vertical text mode, the leading is the space between
two adjacent columns of text.