Skip to main content

FormattedTextExportOptions.EmptyFirstPageHeaderFooter Property

Specifies whether to display the header and footer contents on the exported document’s first page.

Namespace: DevExpress.XtraPrinting

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

Declaration

[DefaultValue(false)]
public virtual bool EmptyFirstPageHeaderFooter { get; set; }

Property Value

Type Default Description
Boolean false

true to suppress rendering of the header and footer contents; otherwise, false.

Remarks

When exporting a document to RTF/DOCX format, the Top Margin and Bottom Margin bands are rendered as native RTF/DOCX page headers and footers.

The default property’s value is false and the header and footer are displayed on the first page. Set this property to true to suppress rendering of the header and footer contents on the exported document’s first page.

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

See Also