RtfToHtml.EnableHtmlDeencapsulation property
The EnableHtmlDeencapsulation property specifies whether to extract encapsulated HTML present in the input Rich Text Format (RTF) or to ignore encapsulated HTML in the input and perform normal conversion of RTF into HTML.
Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)
Syntax
'Declaration
Public Property EnableHtmlDeencapsulation As Boolean
Get
Set
'Usage
Dim instance As RtfToHtml
Dim value As Boolean
value = instance.EnableHtmlDeencapsulation
instance.EnableHtmlDeencapsulation = value
public bool EnableHtmlDeencapsulation { get; set; }
Property value
Type: System.Boolean
The EnableHtmlDeencapsulation property returns a Boolean value that indicates whether to extract encapsulated HTML present in the input.
Remarks
RTF produced by conversion from HTML from any version of MicrosoftExchange Server 2007 can contain the encapsulated original HTML. Setting the EnableHtmlDeencapsulation property to true causes the RtfToHtml object to extract this HTML. Setting the EnableHtmlDeencapsulation property to false will ignore the encapsulated HTML in the input and perform normal conversion from RTF to HTML.
Use the NormalizeHtml property to control whether the extracted HTML is normalized.