Share via


RtfToHtml members

The RtfToHtml class implements a conversion from Rich Text Format (RTF) to HTML.

The RtfToHtml type exposes the following members.

Constructors

  Name Description
Public method RtfToHtml The RtfToHtml constructor creates a new RtfToHtml object.

Top

Properties

  Name Description
Public property ConvertedFromText The ConvertedFromText property gets a Boolean value that indicates whether the source HTML was converted from plain text.
Public property EnableHtmlDeencapsulation The EnableHtmlDeencapsulation property specifies whether to extract encapsulated HTML present in the input Rich Text Format (RTF) or to ignore encapsulated HTML in the input and perform normal conversion of RTF into HTML.
Public property EncapsulatedHtml The EncapsulatedHtml property gets a Boolean value that indicates whether the source RTF document contains encapsulated HTML.
Public property FilterHtml The FilterHtml property gets or sets a Boolean value that indicates whether the HtmlTagCallback property will be stripped of executable scripts.
Public property Footer The Footer property gets or sets the text that will appear in the output after any other visible text.
Public property Header The Header property gets or sets the text that will appear in the output before any other visible text.
Public property HeaderFooterFormat The HeaderFooterFormat property gets or sets a HeaderFooterFormat enumeration value that indicates whether headers and footers will be interpreted as text or as HTML.
Public property HtmlTagCallback The HtmlTagCallback property gets or sets the HtmlTagCallback delegate to use for filtering enriched text input.
Public property InputStreamBufferSize The InputStreamBufferSize property gets or sets the internal input buffer size, in bytes, for stream input. (Inherited from TextConverter.)
Public property MaxCallbackTagLength The MaxCallbackTagLength property gets or sets the number of characters allowed in a tag, including attributes that can be passed in a callback.
Public property NormalizeHtml The NormalizeHtml property gets or sets a Boolean value that determines whether this RtfToHtml object will collapse white space, balance tags, and fix other problems in the source HTML.
Public property OutputEncoding The OutputEncoding property gets or sets a Encoding object that represents the encoding to use when writing HTML output.
Public property OutputHtmlFragment The OutputHtmlFragment property gets or sets a Boolean value that determines whether or not this RtfToHtml object must output an entire HTML document or only a fragment of the HTML body content.
Public property OutputStreamBufferSize The OutputStreamBufferSize method gets or sets the internal output buffer size, in bytes, for stream output. (Inherited from TextConverter.)

Top

Methods

  Name Description
Public method Convert(Stream, Stream) The Convert method converts the entire contents of sourceStream from its format to the format specified by this TextConverter object and stores the result in destinationStream. (Inherited from TextConverter.)
Public method Convert(Stream, TextWriter) The Convert method converts the entire contents of sourceStream from its format to the format of destinationWriter and writes the result to destinationWriter. (Inherited from TextConverter.)
Public method Convert(TextReader, Stream) The Convert method converts the entire contents of sourceReader from its format to the format of destinationStream and stores the result in destinationStream. (Inherited from TextConverter.)
Public method Convert(TextReader, TextWriter) The Convert method converts the entire contents of sourceReader from its format to the format of destinationWriter and writes the result to destinationWriter. (Inherited from TextConverter.)

Top

Fields

  Name Description
Protected field locked (Inherited from TextConverter.)
Protected field testBoundaryConditions (Inherited from TextConverter.)

Top

See also

Reference

RtfToHtml class

Microsoft.Exchange.Data.TextConverters namespace