The CTextStyle type exposes the following properties.
Properties
| Member | Description | |
|---|---|---|
| Font |
Allows to disable all font parameters: size, face, color
| |
| FontColor |
Set a single color for all text
| |
| FontFace |
Specify single font face for all document
| |
| FontSize |
Specify single font size for all document, otherwise font sizes will be as in RTF
| |
| HyperlinkDetect |
Detect hyperlinks inside text or not. For example, if this property set to 'true' so such text www.website.com will be marked as hyperlink
| |
| HyperlinkTarget |
Set the attribute 'target = ' for <a ...> tags
| |
| InlineCSS |
Make CSS saved as inline, for example <span style=".....">. If this property set to 'false', styles will be saved between <style>...</style> tags.
| |
| StartCSSNumber |
The start number for CSS styles which will be used in the style name, by default it's 1. For example, <span class="st1">
| |
| StyleName |
Specify the template name for CSS styles, by default it's a "st". For example, <span class="st1">
| |
| TextAligment |
Set single alignment for all text in HTML document, by default - Auto, it's the same as in original RTF
| |
| Title |
Put page title text between <title>...</title> tags
|