Rtf To HtmlExtract Encapsulated Html Property
Get or set whether HTML encapsulated within the RTF should be extracted.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if encapsulated HTML should be extracted; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool ExtractEncapsulatedHtml { get; set; }Property Value
Booleanif encapsulated HTML should be extracted; otherwise, .
Remarks
Gets or sets whether HTML encapsulated within the RTF should be extracted.
Microsoft Outlook and Exchange represent HTML message bodies as RTF documents that encapsulate the original HTML, as described by [MS-OXRTFEX]. Such documents declare themselves with the \fromhtml1 control word. When this property is , the original HTML is extracted from those documents (as described by [MS-OXRTFEX] section 2.2.3.2) and passed through the HtmlTagCallback. When , or when the document does not encapsulate HTML, the RTF itself is converted into HTML.