UTextStyle
ITextStyle, from Univer See doc
public struct UTextStyle : IStyleBase
Remarks
This struct defines the styling attributes for rich text segments, including font settings, decorations, colors, spacing, and other advanced typographic options used in Univer documents.
Properties
| Property | Type | Description |
|---|---|---|
| sc | int? | Spacing |
| pos | int? | Position |
| sa | int? | Scale |
| ff | string | fontFamily |
| fs | int | fontSize (pt) |
| it | int | italic — 0: false, 1: true |
| bl | int | bold — 0: false, 1: true |
| ul | UTextDecoration | underline |
| bbl | UTextDecoration? | bottomBorderLine |
| st | UTextDecoration | strikethrough |
| ol | UTextDecoration | overline |
| bg | UColorStyle? | background |
| bd | UBorderData? | border |
| cl | UColorStyle? | foreground |
| va | object? | Subscript/Superscript Text |
| n | UFormatStyle? | Number format pattern |