Share via


TextToText members

The TextToText object converts from text to text.

The TextToText type exposes the following members.

Constructors

  Name Description
Public method TextToText() The TextToText constructor creates a new TextToText object.
Public method TextToText(TextToTextConversionMode) The TextToText constructor creates a new TextToText object with the TextToTextConversionMode specified by mode.

Top

Properties

  Name Description
Public property DetectEncodingFromByteOrderMark The DetectEncodingFromByteOrderMark property gets or sets a Boolean value that indicates whether the encoding is detected from the byte order mark or determined by the InputEncoding property.
Public property Footer The Footer property gets or sets the text that will appear in the output after any other text.
Public property Header The Header property gets or sets the text that will appear in the output before any other 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 HtmlEscapeOutput The HtmlEscapeOutput property gets or sets a Boolean value that controls whether HTML escaping rules will be applied to the output of the conversion.
Public property InputEncoding The InputEncoding property gets or sets a Encoding object that represents the encoding to use when reading 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 OutputEncoding The OutputEncoding property gets or sets a Encoding object that represents the encoding to use when writing HTML output.
Public property OutputStreamBufferSize The OutputStreamBufferSize method gets or sets the internal output buffer size, in bytes, for stream output. (Inherited from TextConverter.)
Public property Unwrap The Unwrap property gets or sets a Boolean value indicating whether the source text needs to be unwrapped as it is converted.
Public property Wrap The Wrap property gets or sets a Boolean value indicating whether the output text should be wrapped.

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

TextToText class

Microsoft.Exchange.Data.TextConverters namespace