API Reference
Class
TextStyle
Defines fully resolved text styling shared by charts, topology, visual blocks, canvases, and image composition.
Inheritance
- Object
- TextStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method ImageComposition.DrawText
- Method TextLayoutEngine.Layout
- Method TextLayoutEngine.Measure
- Method TextStyleOverride.Resolve
Methods
Properties
Font #Gets or sets the font selection.
FontSize #Gets or sets the font size in logical pixels.
Color #Gets or sets the text color.
Alignment #Gets or sets horizontal alignment inside the layout region.
LineHeight #Gets or sets line height as a multiplier of the measured font height.
Underline #Gets or sets a value indicating whether an underline should be rendered.