Back to API Reference
Class

ItalicModifier

Renders italic by slanting glyphs. Tags: <i> = auto, <i=20> = synthetic slant of 20°, <i=f> = the run font's own slant, <i=r> = a real italic face only.

public ItalicMode Mode{ get; set }

How italic is realized. A per-range value overrides it; this is the default for a bare tag or whole-text use.

public int Slant{ get; set }

Synthetic shear angle in degrees (−100…100), applied when Mode is Synthetic. A per-range value overrides it.

protected string AttributeKey{ get }
protected override AttributeChannel CreateChannel()
protected override void OnApply()