Share via


HtmlToRtf.HeaderFooterFormat Property

The HeaderFooterFormat property gets or sets a HeaderFooterFormat enumeration value that indicates whether headers and footers will be interpreted as text or as HTML.

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

Syntax

'Declaration
Public Property HeaderFooterFormat As HeaderFooterFormat
    Get
    Set
'Usage
Dim instance As HtmlToRtf
Dim value As HeaderFooterFormat

value = instance.HeaderFooterFormat

instance.HeaderFooterFormat = value
public HeaderFooterFormat HeaderFooterFormat { get; set; }

Property Value

Type: Microsoft.Exchange.Data.TextConverters.HeaderFooterFormat
If the HeaderFooterFormat property is set to Html, then Header and Footer are interpreted as HTML and only the text that would be visible in the HTML fragment after it was rendered will be inserted into the output. Otherwise, if the HeaderFooterFormat property is set to Html, then Header and Footer are interpreted as raw plain text that will be properly escaped and inserted directly into the output.

Remarks

The HeaderFooterFormat property can only be set before conversion begins.