Share via


HtmlToText.TextExtractionMode property

The TextExtractionMode property gets a Boolean value that indicates whether this HtmlToText object preserves or removes formatting found in the source HTML.

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

Syntax

'Declaration
Public ReadOnly Property TextExtractionMode As TextExtractionMode
    Get
'Usage
Dim instance As HtmlToText
Dim value As TextExtractionMode

value = instance.TextExtractionMode
public TextExtractionMode TextExtractionMode { get; }

Property value

Type: Microsoft.Exchange.Data.TextConverters.TextExtractionMode

Remarks

When the TextExtractionMode property returns ExtractText, very few other properties on this HtmlToText object affect the conversion.

See also

Reference

HtmlToText class

HtmlToText members

Microsoft.Exchange.Data.TextConverters namespace