Objects within Fireworks documents
63
TextRuns object
The following table lists the properties of the TextRuns object, along with their data types and,
where appropriate, acceptable values and notes.
kerning
float
Also known as pair kerning,
kerning
specifies the percentage of an em square by
which to separate two characters, in addition
to the amount the font specifies. Applies to
only one pair or characters. To specify
kerning for a range of text, use the
rangeKerning
property.
0 — normal kerning
< 0 — move the two characters closer
together
> 0 — move the two characters farther apart
leading
float
The spacing between two lines of text,
measured from baseline to baseline. Larger
numbers place more space between lines of
text. Smaller numbers move the lines closer
together. The exact effect of this property
number depends on the value of the
leadingMode
property.
leadingMode
string
The only acceptable value is
"percentage"
,
which specifies that the
leading
property is a
percentage of the text’s point size. A
leading
property of
1
.
0
means 100 percent or single-
spaced,
2
.
0
means 200 percent or double-
spaced, and so on.
rangeKerning
float
The same as the
kerning
property, but
applies to a range of text, not only two
characters.
size
string
String of the form
"#pt"
, where
#
is a
numeric value.
underline
Boolean
Set to
true
for underlined text,
false
for
normal text.
Property
Data type
Notes
initialAttrs
object
TextAttrs object (see
“TextAttrs object”
on page 62
).
textRuns
array
Array of SingleTextRun objects on this
TextRuns object (see
“SingleTextRun
object” on page 59
).
Property
Data type
Notes
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...