This documentation is archived and is not being maintained.

Microsoft.Exchange.Data.TextConverters Namespace

The Microsoft.Exchange.Data.TextConverters namespace contains types that enable you to easily convert data among different formats such as HTML, RTF, enriched text, and plain text.

ConverterReaderThe ConverterReader type is a read-only, forward-only pull mode converter based on the TextReader class.
ConverterStreamThe ConverterStream class is a stream-based converter that can be configured for reading or writing.
ConverterWriterThe ConverterWriter type is a write-only converter that is derived from the TextWriter class. Source documents are written into ConverterWriter and the output is written into a Stream or TextWriter object.
EnrichedToHtmlThe EnrichedToHtml class converts enriched text to HTML.
EnrichedToTextThe EnrichedToText class converts enriched text to plain text.
HtmlTagContextThe HtmlTagContext class is passed to the HtmlTagCallback delegate and is used to get information about the tag that caused the callback and to filter the tag as it is written to the output.
HtmlToEnrichedThe HtmlToEnriched converts HTML to enriched text.
HtmlToHtmlThe HtmlToHtml conversion object transforms HTML. It is used to normalize and filter HTML, convert HTML to use a different code page, and inject text into HTML.
HtmlToRtfThe HtmlToRtf class converts HTML to RTF.
HtmlToTextThe HtmlToText class converts HTML to plain text.
HtmlWriterThe HtmlWriter class provides methods that allow you to easily write HTML tags, HTML attribute, and text to an output HTML document.
RtfCompressedToRtfThe RtfCompressedToRtf class extracts compressed Rich Text Format (RTF).
RtfToHtmlThe RtfToHtml class implements a conversion from Rich Text Format (RTF) to HTML.
RtfToRtfThe RtfToRtf class implements a conversion from RTF to RTF.
RtfToRtfCompressedThe RtfToRtfCompressed class implements a conversion that converts from Rich Text Format (RTF) to compressed RTF.
RtfToTextThe RtfToText class implements a conversion from Rich Text Format (RTF) to text.
TextConverterThe TextConverter class is an abstract base class representing a transformation of text or other data from one format to another.
TextConvertersExceptionThe TextConvertersException exception is thrown when a data format error causes an unrecoverable error.
TextToHtmlThe TextToHtml implements a conversion from text to HTML.
TextToRtfThe TextToRtf object converts from text to RTF.
TextToTextThe TextToText object converts from text to text.

HtmlTagContext.AttributeCollectionThe HtmlTagContext.AttributeCollection structure is a collection of HtmlTagContextAttribute structures that represent the attributes of the HTML tag that caused the callback to the HtmlTagCallback delegate.
HtmlTagContext.AttributeCollection.EnumeratorThe HtmlTagContext.AttributeCollection.Enumerator class provides methods that allow you to iterate over a collection of HtmlTagContextAttribute structures.
HtmlTagContextAttributeThe HtmlTagContextAttribute structure contains information about an attribute in the current HTML tag.

HtmlTagCallbackThe HtmlTagCallback delegate is called to enable custom filtering of specific HTML tags.

ConverterStreamAccessThe ConverterStreamAccess type specifies the access mode for a ConverterStream object.
HeaderFooterFormatThe HeaderFooterFormat enumeration contains values that determine how headers and footers are interpreted before they are inserted into converted output.
HtmlAttributeIdThe HtmlAttributeId enumeration contains values that represent HTML attributes.
HtmlTagIdThe HtmlTagId enumeration contains values that represent HTML tags.
HtmlWriterStateThe HtmlWriterState enumeration contains values that identify the state of a HtmlWriter object.
RtfCompressionModeThe RtfCompressionMode enumeration indicates the kind of compression that will be performed.
TextExtractionModeThe TextExtractionMode enumeration contains values that specify how text will be extracted.
TextToTextConversionModeThe TextToTextConversionMode enumeration controls how text will be converted.