Back to API Reference
Class

WordSpacingModifier

Inherits:PooledAttributeModifier<float>

Adjusts the gap at spaces between words (the regular space and no-break space), leaving letter-to-letter spacing untouched. The CSS word-spacing analogue.

Remarks

Parameter: spacing with a unit — 0.25em (relative to font size) or a raw pixel amount such as 4; negative values tighten. Applies at the regular space and no-break space; tabs and fixed-width spaces (U+2000–U+200A, U+3000) are left alone. Overlapping ranges resolve innermost-wins and never compound, across modifiers as well as across nested tags.
protected string AttributeKey{ get }
protected override AttributeChannel CreateChannel()
protected override void OnApply()