HtmlToRtf.DetectEncodingFromMetaTag property
The DetectEncodingFromMetaTag property gets or sets a Boolean value that indicates whether the encoding is detected from the meta tag or determined by the InputEncoding property.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Property DetectEncodingFromMetaTag As Boolean
Get
Set
'Usage
Dim instance As HtmlToRtf
Dim value As Boolean
value = instance.DetectEncodingFromMetaTag
instance.DetectEncodingFromMetaTag = value
public bool DetectEncodingFromMetaTag { get; set; }
Property value
Type: System.Boolean
The DetectEncodingFromMetaTag property returns true if the meta tag in the input is to be used to determine the encoding. This property returns false to indicate that the input encoding is to be determined by the InputEncoding property.
If the DetectEncodingFromMetaTag property is set to true, but the meta tag contains no encoding information, then the InputEncoding property will be used to determine the encoding.
Remarks
The DetectEncodingFromMetaTag property must be set before conversion begins.