Share via


RtfToHtml.EncapsulatedHtml property

The EncapsulatedHtml property gets a Boolean value that indicates whether the source RTF document contains encapsulated HTML.

Namespace:  Microsoft.Exchange.Data.TextConverters
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Public ReadOnly Property EncapsulatedHtml As Boolean
    Get
'Usage
Dim instance As RtfToHtml
Dim value As Boolean

value = instance.EncapsulatedHtml
public bool EncapsulatedHtml { get; }

Property value

Type: System.Boolean
The EncapsulatedHtml property returns true if both the EnableHtmlDeencapsulation property is true and the source RTF document contains encapsulated HTML. Otherwise, if either the EnableHtmlDeencapsulation property is false or the source RTF document does not contain encapsulated HTML, this property returns false.

See also

Reference

RtfToHtml class

RtfToHtml members

Microsoft.Exchange.Data.TextConverters namespace