Back to DOM
DOM.Styles.TextStyle
Namespace: DOM.Styles
Represents character-level styling applied to text runs.
aggregates font, color, effects and supplemental settings that control the visual appearance of inline text. Properties are nullable so callers can distinguish between "unspecified" and an explicit value; consumers should apply inheritance and document-default fallback rules when a property is.
6 members
Properties
BackgroundColorColor
Gets or sets the background (highlight) color for the text run.
BorderBorderStyle
Gets or sets an inline border style applied around the text run.
CustomWidthDocumentUnit
Gets or sets a custom width hint for the text run.
Font
Gets or sets the font formatting to apply to the text run.
Languages
Gets or sets language preferences for the text run.
TextEffect
Gets or sets text effect settings such as shadows, glow or 3D effects.