User`s guide
mlreportgen.dom.LineSpacing class
12-199
mlreportgen.dom.LineSpacing class
Package: mlreportgen.dom
Spacing between lines of paragraph
Description
Specifies the spacing between lines of a paragraph.
Construction
lineSpacingObj = LineSpacing() specifies line spacing equal to the height of one
line at the paragraph font size.
lineSpacingObj = LineSpacing(multiple) specifies a line spacing as a multiple of
the paragraph text line height (for example, 1.5).
lineSpacingObj = LineSpacing(spacingHeight) specifies line spacing as a
dimension, for example, '10pt'.
lineSpacingObj = LineSpacing(spacingHeight,spacingType) specifies line
spacing value and type.
Input Arguments
mulitple — Multiple of paragraph line height
1 (default) | scalar
Scalar that specifies the line spacing relative to the paragraph text line height.
spacingHeight — Height of line spacing
string
String having the format valueUnits, where Units is an abbreviation for the units in
which the height is expressed. The following abbreviations are valid:
• no abbreviation — pixels
• cm — centimeters