HtmlToText.InputEncoding property
The InputEncoding property gets or sets a Encoding object that represents the encoding to use when reading HTML input.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Property InputEncoding As Encoding
Get
Set
'Usage
Dim instance As HtmlToText
Dim value As Encoding
value = instance.InputEncoding
instance.InputEncoding = value
public Encoding InputEncoding { get; set; }
Property value
Type: System.Text.Encoding
Remarks
The InputEncoding property is only applicable when input data is pulled from a Stream object or pushed into the converter using a writable ConverterStream object. It is not applicable when data is pulled from a TextReader or pushed through a ConverterWriter.
When applicable, the InputEncoding property must be set before conversion begins.