|
ScroogeXHTML for Object Pascal 9.4
|
A class which stores character properties. More...
Public Member Functions | |
| TCharacterProperties | Clone () |
| Creates a clone of the current TCharacterProperties instance. | |
| CopyFrom (const TCharacterProperties CP) | |
| Copies all properties from another TCharacterProperties instance. | |
| Boolean | IsBold () |
| Checks if the font style includes bold. | |
| Boolean | IsItalic () |
| Checks if the font style includes italic. | |
| Boolean | IsStrike () |
| Checks if the font style includes strikethrough. | |
| Boolean | IsUnderline () |
| Checks if the font style includes underline. | |
| SetUnderline (const Boolean Value) | |
| Sets or removes the underline style. | |
Public Attributes | |
| TDirection | Direction |
| Specifies the text direction (left-to-right or right-to-left). | |
| string | FontBGColor |
| Specifies the background color in hexadecimal format. | |
| TCharset | FontCharSet |
| Specifies the font character set. | |
| string | FontColor |
| Specifies the font color in hexadecimal format. | |
| string | FontHLColor |
| Specifies the highlight color in hexadecimal format. | |
| string | FontName |
| Specifies the font name. | |
| Integer | FontSize |
| Specifies the font size in points. | |
| TFontstyles | FontStyle |
| Specifies the font style as a set of TFontStyle values. | |
| string | Language |
| Specifies the language of the text. | |
| SxTypes | VerticalAlignment |
| Specifies the vertical alignment of the text. | |
A class which stores character properties.
| TCharacterProperties TCharacterProperties::Clone | ( | ) |
Creates a clone of the current TCharacterProperties instance.
| TCharacterProperties::CopyFrom | ( | const TCharacterProperties | CP | ) |
Copies all properties from another TCharacterProperties instance.
| CP | The source TCharacterProperties instance to copy from. |
| Boolean TCharacterProperties::IsBold | ( | ) |
Checks if the font style includes bold.
| Boolean TCharacterProperties::IsItalic | ( | ) |
Checks if the font style includes italic.
| Boolean TCharacterProperties::IsStrike | ( | ) |
Checks if the font style includes strikethrough.
| Boolean TCharacterProperties::IsUnderline | ( | ) |
Checks if the font style includes underline.
| TCharacterProperties::SetUnderline | ( | const Boolean | Value | ) |
Sets or removes the underline style.
| Value | True to add underline, False to remove it. |
| TDirection TCharacterProperties::Direction |
Specifies the text direction (left-to-right or right-to-left).
| string TCharacterProperties::FontBGColor |
Specifies the background color in hexadecimal format.
| TCharset TCharacterProperties::FontCharSet |
Specifies the font character set.
| string TCharacterProperties::FontColor |
Specifies the font color in hexadecimal format.
| string TCharacterProperties::FontHLColor |
Specifies the highlight color in hexadecimal format.
| string TCharacterProperties::FontName |
Specifies the font name.
| Integer TCharacterProperties::FontSize |
Specifies the font size in points.
| TFontstyles TCharacterProperties::FontStyle |
Specifies the font style as a set of TFontStyle values.
| string TCharacterProperties::Language |
Specifies the language of the text.
| SxTypes TCharacterProperties::VerticalAlignment |
Specifies the vertical alignment of the text.