StructureTextState

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

NameTypeAccessDescription
FontNamestring?Read/WriteFont name applied to the run.
FontSizefloatRead/WriteFont size in points.
ForegroundColorAspose.Pdf.Color?Read/WriteForeground fill colour.
BackgroundColorAspose.Pdf.Color?Read/WriteBackground fill colour.
FontStyleAspose.Pdf.Text.FontStylesRead/WriteFont style (bold / italic) applied to the run.
FontAspose.Pdf.Text.Font?Read/WriteFont applied to the run.
UnderlineboolRead/WriteWhether the run is underlined.
StrikeOutboolRead/WriteWhether the run is struck through.
SubscriptboolRead/WriteWhether the run is rendered as subscript.
SuperscriptboolRead/WriteWhether the run is rendered as superscript.
HorizontalScalingfloatRead/WriteHorizontal glyph scaling (percent).
LineSpacingfloatRead/WriteLeading between lines, in points.
CharacterSpacingfloatRead/WriteExtra spacing between characters, in points.
WordSpacingfloatRead/WriteExtra spacing between words, in points.

See Also