StructureTextState
Overview
StructureTextState is a class in Aspose.PDF FOSS for .NET.
Text-state snapshot used to format inline structure-element runs.
Properties: BackgroundColor, CharacterSpacing, Font, FontName, FontSize, FontStyle, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
FontName | string? | Read/Write | Font name applied to the run. |
FontSize | float | Read/Write | Font size in points. |
ForegroundColor | Aspose.Pdf.Color? | Read/Write | Foreground fill colour. |
BackgroundColor | Aspose.Pdf.Color? | Read/Write | Background fill colour. |
FontStyle | Aspose.Pdf.Text.FontStyles | Read/Write | Font style (bold / italic) applied to the run. |
Font | Aspose.Pdf.Text.Font? | Read/Write | Font applied to the run. |
Underline | bool | Read/Write | Whether the run is underlined. |
StrikeOut | bool | Read/Write | Whether the run is struck through. |
Subscript | bool | Read/Write | Whether the run is rendered as subscript. |
Superscript | bool | Read/Write | Whether the run is rendered as superscript. |
HorizontalScaling | float | Read/Write | Horizontal glyph scaling (percent). |
LineSpacing | float | Read/Write | Leading between lines, in points. |
CharacterSpacing | float | Read/Write | Extra spacing between characters, in points. |
WordSpacing | float | Read/Write | Extra spacing between words, in points. |