The RtfToHtml..::.CTextStyle type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
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.
MeasurementUnits
Allows to set single measurement units for whole HTML document
ObjectAttachmentPlaceholder
Sets a string value which will be inserted into HTML instead of '\objattph' RTF keywords.
PreserveDocumentMargins
Keep document margins the same as in RTF or set them to zero.
PreserveDocumentWidth
Keep fixed width for paragraphs the same as in RTF or make the width not set.
PreserveTrackChanges
Show tracking changes in HTML or skip them.
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

See Also