Main class for RTF to HTML converting. Allows to create an instance of converter object and call converting methods.
Namespace:
SautinSoftAssembly: SautinSoft.RtfToHtml (in SautinSoft.RtfToHtml.dll) Version: 3.3.8.15
Syntax
| C# | Visual Basic |
public class RtfToHtml
Public Class RtfToHtml
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| RtfToHtml()()() |
Creates a new instance of RtfToHtml class
| |
| ConvertFile(String, String) |
Converts Text/RTF file to Text/HTML/XHTML file. Output file will be overwritten.
| |
| ConvertFileToString(String) |
Converts Text/RTF file to Text/HTML/XHTML string
| |
| ConvertFileToString(String, ArrayList) |
Converts Text/RTF file to Text/HTML/XHTML string
| |
| ConvertString(array<Byte>[]()[]) |
Converts byte stream of Text/RTF to Text/HTML/XHTML string
| |
| ConvertString(MemoryStream) |
Converts MemoryStream object with Text/RTF to Text/HTML/XHTML string
| |
| ConvertString(String) |
Converts Text/RTF string to Text/HTML/XHTML string
| |
| ConvertString(array<Byte>[]()[], ArrayList) |
Converts stream of bytes containing Text/RTF into Text/HTML/XHTML string
| |
| ConvertString(MemoryStream, ArrayList) |
Converts object of MemoryStream with Text/RTF into Text/HTML/XHTML string
| |
| ConvertString(String, ArrayList) |
Converts Text/RTF string to Text/HTML/XHTML string
| |
| ConvertStringToFile(array<Byte>[]()[], String) |
Converts stream of bytes with Text/RTF into Text/HTML/XHTML file. Output file will be overwritten.
| |
| ConvertStringToFile(MemoryStream, String) |
Converts MemoryStream object with Text/RTF into Text/HTML/XHTML file. Output file will be overwritten.
| |
| ConvertStringToFile(String, String) |
Converts Text/RTF string to Text/HTML/XHTML file. Output file will be overwritten.
| |
| DestFile |
This property is necessary when you convert RTF string to HTML string and want to see a relative path inside <img src="...."> tag
| |
| Encoding |
Set encoding for output HTML
| |
| HtmlParts |
Specify the component to produce only some parts of HTML document
| |
| ImageStyle |
Image properties and actions: quality, name, where to store images etc
| |
| OutputFormat | ||
| Serial |
A string which contains a serial number to activate your copy after purchasing. Use it when you got own serial number and registered version.
| |
| SetSerial(String) |
Allows to specify serial number to activate your copy after purchasing. Use it when you've recived own serial number and registered version of the component.
| |
| TableStyle |
Specify table properties for output HTML document: borders and width
| |
| TagStyle |
Specify default tag for paragraphs: 'p' or 'div'
| |
| TextStyle |
Specify properties for output HTML: title, alignment, default font, color, size, name for CSS styles, etc
| |
| UseHtmlSymbols |
This property forces the component to save special symbols in such format: &#xxx;
|