Encoding of input HTML

Namespace:  SautinSoft
Assembly:  SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 5.8.2.8

Syntax

      
 C#  Visual Basic 
public HtmlToRtf..::.eEncoding Encoding { get; set; }
Public Property Encoding As HtmlToRtf..::.eEncoding

Remarks

Allows to set encoding of input HTML document. By default this property is set to AutoDetect. This means that the component will try to detect encoding by itself from the tag <meta ... charset=...">.



Examples

CopyC#
SautinSoft.HtmlToRtf h = new SautinSoft.HtmlToRtf();
h.Encoding = HtmlToRtf.eEncoding.utf8;
CopyVB.NET
Dim h As New SautinSoft.HtmlToRtf()
h.Encoding = HtmlToRtf.eEncoding.utf8

See Also