Skip to main content

HeaderAndFooterTabCommandId Enum

Lists commands contained in the Header And Footer tab.

Declaration

export enum HeaderAndFooterTabCommandId {
    GoToPageHeader = 227,
    GoToPageFooter = 228,
    GoToPreviousPageHeaderFooter = 230,
    GoToNextPageHeaderFooter = 229,
    LinkHeaderFooterToPrevious = 222,
    ToggleDifferentFirstPage = 231,
    ToggleDifferentOddAndEvenPages = 232,
    ChangeHeaderOffset = 330,
    ChangeFooterOffset = 331,
    CloseHeaderFooter = 233
}

Members

Name Description
ChangeFooterOffset

A command that specifies the distance from the bottom of the page to the bottom of the footer.

ChangeHeaderOffset

A command that specifies the distance from the top of the page to the top of the header.

CloseHeaderFooter

A command that closes header’s and footer’s edit mode.

GoToNextPageHeaderFooter

A command that navigates to the next header or footer.

GoToPageFooter

A command that allows you to edit a footer on the current page.

GoToPageHeader

A command that allows you to edit a header on the current page.

GoToPreviousPageHeaderFooter

A command that navigates to the previous header or footer.

LinkHeaderFooterToPrevious

A command that links a header/footer to the previous section.

ToggleDifferentFirstPage

A command that specifies whether the first page header/footer is unique.

ToggleDifferentOddAndEvenPages

A command that specifies whether headers and footers on odd pages differ from even pages.

Remarks

Pass the HeaderAndFooterTabCommandId‘s field to the executeCommand(commandId) method to execute a command:

richEdit.executeCommand(DevExpress.RichEdit.HeaderAndFooterTabCommandId.CloseHeaderFooter);

The HeaderAndFooterTabItemId enum contains identifiers of the Header And Footer tab’s ribbon items. Use an identifier to get the corresponding item and then insert it into a tab or remove the item from the Header And Footer tab.

See Also