API reference / Common / Engine types / RichTextStyle
Interface: RichTextStyle
What an element sets of the properties rich text may set (Table 225) — each left unset inherits from the element around it. A default style string (/DS) is one too: what a free text's or a rich text field's text starts from.
Properties
| Property | Description |
|---|---|
justification| AnnotationTextJustification | null | text-align. |
risenumber | null | vertical-align — how far the text rises off its baseline, in points. |
sizenumber | null | font-size, in points. |
italicboolean | null | font-style. |
weightnumber | null | font-weight, from 100 to 900: normal is 400, bold 700. |
familystring | null | font-family, the list as written. |
colorColor | null | color. |
decoration[ boolean, boolean] | null | text-decoration: underlined, and struck through. |
stretchRichTextFontStretch | null | font-stretch. |