## StructureTextState class


Represents text state settings for [Text](../../aspose.pdf.text/)[Structure](../../aspose.pdf.structure/) Elements and TaggedContent ([ITextElement](../itextelement/), ITaggedContent)

```cpp
class StructureTextState : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [get_BackgroundColor](./get_backgroundcolor/)() const | Gets background color of the text. |
| [get_CharacterSpacing](./get_characterspacing/)() const | Gets character spacing of the text. |
| [get_Font](./get_font/)() const | Gets the font of text. |
| [get_FontSize](./get_fontsize/)() const | Gets font size of the text. |
| [get_FontStyle](./get_fontstyle/)() const | Gets font style of the text. |
| [get_ForegroundColor](./get_foregroundcolor/)() const | Gets foreground color of the text. |
| [get_HorizontalScaling](./get_horizontalscaling/)() const | Gets horizontal scaling of the text. |
| [get_LineSpacing](./get_linespacing/)() const | Gets line spacing of the text. |
| [get_MarginInfo](./get_margininfo/)() const | Gets margin for block structure element. |
| [get_StrikeOut](./get_strikeout/)() const | Gets strikeout for the text. |
| [get_Subscript](./get_subscript/)() const | Gets subscript of the text. |
| [get_Superscript](./get_superscript/)() const | Gets superscript of the text. |
| [get_Underline](./get_underline/)() const | Gets underline for the text. |
| [get_WordSpacing](./get_wordspacing/)() const | Gets word spacing of the text. |
| [set_BackgroundColor](./set_backgroundcolor/)(const System::SharedPtr\<Color\>\&) | Sets background color of the text. |
| [set_CharacterSpacing](./set_characterspacing/)(System::Nullable\<float\>) | Sets character spacing of the text. |
| [set_Font](./set_font/)(const System::SharedPtr\<Aspose::Pdf::Text::Font\>\&) | Sets the font of text. |
| [set_FontSize](./set_fontsize/)(System::Nullable\<float\>) | Sets font size of the text. |
| [set_FontStyle](./set_fontstyle/)(System::Nullable\<Text::FontStyles\>) | Sets font style of the text. |
| [set_ForegroundColor](./set_foregroundcolor/)(const System::SharedPtr\<Color\>\&) | Sets foreground color of the text. |
| [set_HorizontalScaling](./set_horizontalscaling/)(System::Nullable\<float\>) | Sets horizontal scaling of the text. |
| [set_LineSpacing](./set_linespacing/)(System::Nullable\<float\>) | Sets line spacing of the text. |
| [set_MarginInfo](./set_margininfo/)(const System::SharedPtr\<Aspose::Pdf::MarginInfo\>\&) | Sets margin for block structure element. |
| [set_StrikeOut](./set_strikeout/)(System::Nullable\<bool\>) | Sets strikeout for the text. |
| [set_Subscript](./set_subscript/)(System::Nullable\<bool\>) | Sets subscript of the text. |
| [set_Superscript](./set_superscript/)(System::Nullable\<bool\>) | Sets superscript of the text. |
| [set_Underline](./set_underline/)(System::Nullable\<bool\>) | Sets underline for the text. |
| [set_WordSpacing](./set_wordspacing/)(System::Nullable\<float\>) | Sets word spacing of the text. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pdf::LogicalStructure](../)
* Library [Aspose.PDF for C++](../../)
