Docsv3.10.0
Back to API Reference
Class

StrikethroughModifier

Renders a horizontal line through the middle of the text (strikethrough effect).

Remarks

The line position is the primary font's strikethroughOffset, or half its x-height when the font states none — one height for the whole stripe whatever fonts the runs beneath it come from. Supports line breaks and color inheritance from the text.
protected string AttributeKey{ get }
protected override float GetLineOffset()