Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HeaderFooterType Enum

Lists the header/footer types.

#Declaration

TypeScript
export enum HeaderFooterType {
    First = 0,
    Odd = 1,
    Even = 2,
    Primary = 1
}

#Members

Name Description
Even

A header/footer displayed on even pages of the section.

First

A header/footer displayed on the first page of the section.

Odd

A header/footer displayed on odd pages of the section.

Primary

A header/footer that is displayed on all pages of the section if the document does not distinguish between first, odd and even pages. Actually, this is an alias for the Odd type.

#Remarks

Values listed by this enumeration are used in the following members:

var section = richEdit.document.sections.getByIndex(0);
var subDocument = section.getHeader(DevExpress.RichEdit.HeaderFooterType.Primary, true);