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
public bool EnableHtmlDeencapsulation { get; set; }
public:
property bool EnableHtmlDeencapsulation {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_EnableHtmlDeencapsulation ()
/** @property */
public void set_EnableHtmlDeencapsulation (boolean value)
public function get EnableHtmlDeencapsulation () : boolean
public function set EnableHtmlDeencapsulation (value : boolean)
Property Value
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 Microsoft Exchange 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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,
Target Platforms
Windows Server 2003
See Also