TextInfo elements
- Last UpdatedJul 26, 2024
- 1 minute read
You can specify how text appears on the screen with the TextInfo element.
The following elements are available for specifying text:
|
Elements |
Description |
|---|---|
|
Font |
Name of font families, such as 'System' or 'Arial'. |
|
FontStyle |
Values can be {Regular, Italic, Bold, BoldItalic}. |
|
FontSize |
Need to indicate font size unit of measure. Usually, points. Values can be 0 or larger. |
|
Underline |
Underlined text: {true or false}. |
|
Strikeout |
Struck out text: {true or false}. |
|
TextColor |
Color element for text color. |
|
TextJustify |
Text justification: {Left, Center, or Right} |
Example:
<TextInfo>
<Font>Arial</Font>
<FontStyle>Regular</FontStyle>
<FontSize>12</FontSize>
<Underline>false</Underline>
<Strikeout>false</Strikeout>
<TextColor>
<R>0</R>
<G>0</G>
<B>0</B>
</TextColor>
<TextJustify>Left</TextJustify>
</TextInfo>