Back to API Reference
Class

ParagraphSpacingModifier

Inherits:BaseModifier

Adds vertical spacing between paragraphs (text separated by line breaks).

Remarks

Parameters (comma-separated): After, Before — both optional. After opens a gap below each covered paragraph, Before above it; where two paragraphs meet the values add up (no CSS-style margin collapsing). Nothing is added at the block edges. Units: 10 (pixels), 50% or 0.5em (× font size). Negative values pull the neighbouring paragraphs together, down to full overlap; the gap never inverts. When several ranges cover one paragraph, the largest value per side wins.
protected override void OnEnable()
protected override void OnDisable()
protected override void OnDestroy()
protected override void BeforeApply()
protected override void OnApply()