dom.setTextParaSpacingAfter()
Availability
Fireworks MX.
Usage
dom.setTextParaSpacingAfter(paraSpaceAfter)
Arguments
The number of pixels to place after a paragraph before starting the
paraSpaceAfter
next paragraph.
Returns
Nothing.
Description
Sets the after-paragraph spacing for text; that is, the number of pixels to move down before
starting the next paragraph. For vertical text mode, this function defines the vertical distance
between paragraphs.
dom.setTextParaSpacingBefore()
Availability
Fireworks MX.
Usage
dom.setTextParaSpacingBefore(paraSpaceBefore)
Arguments
The number of pixels to move down before starting a new paragraph.
paraSpaceBefore
Returns
Nothing.
Description
Sets the before-paragraph spacing for text; that is, the number of pixels to move down from
the previous paragraph before starting the new paragraph. For vertical text mode, this
function defines the vertical distance between paragraphs. If you apply
in one paragraph, and
dom.setTextParaSpacingAfter()
in the second paragraph, the space between the two
dom.setTextParaSpacingBefore()
paragraphs would be the sum of both spacing arguments.
298
Fireworks JavaScript API
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers