Share via


RtfToRtf.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 RtfToRtf
Dim value As HeaderFooterFormat

value = instance.HeaderFooterFormat

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

Property value

Type: Microsoft.Exchange.Data.TextConverters.HeaderFooterFormat

Remarks

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 Text, then Header and Footer are interpreted as raw plain text that will be properly escaped and inserted directly into the output.

See also

Reference

RtfToRtf class

RtfToRtf members

Microsoft.Exchange.Data.TextConverters namespace