Skip to main content
A newer version of this page is available. .

FormattedTextExportOptions.EmptyFirstPageHeaderFooter Property

Specifies whether or not the header and footer contents should be displayed on the first page of the final document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll

Declaration

[DefaultValue(false)]
[TypeConverter(typeof(FormattedTextSingleFileOptionConverter))]
[XtraSerializableProperty]
public virtual bool EmptyFirstPageHeaderFooter { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to display the header and footer on the first page; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EmptyFirstPageHeaderFooter
Cross-Platform Class Library ExportOptions
.Docx.EmptyFirstPageHeaderFooter
WPF Controls ExportOptionsContainer
.Docx.EmptyFirstPageHeaderFooter

Remarks

When exporting a document to the RTF/DOCX format, horizontal document margins are rendered as native RTF/DOCX page headers and footers.

Set this property to true to suppress rendering the header and footer contents on the first page of the final document.

This property is in effect when the RtfExportOptions.ExportMode/DocxExportOptions.ExportMode property is set to RtfExportMode.SingleFile/DocxExportMode.SingleFile.

See Also