Docsv3.30.0
Back to API Reference
Class

LineGapModifier

Inherits:BaseModifier

Opens vertical space at the end of each range: below the line that holds the range's last character, which for a range ending at the start of a line is the space between that line and the one above.

Remarks

Parameter: the space — 10 (pixels), 50% or 1.2em (of the font size). Spaces opened at one place add up; negative ones pull the lines together, down to full overlap. A range ending at the start of the text, or space below the last line, adds nothing. Space below the last line of a table or other block opens below the block.
public UnitValue Gap{ get; set }

Space opened at the end of each range. A per-range value overrides it.

protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply()