Skip to main content

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.v23.2.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[DefaultValue(false)]
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.

Remarks

When exporting a document to the RTF/DOCX format, the Top Margin and Bottom Margin bands 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