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 |
---|---|
Change
|
A command that specifies the distance from the bottom of the page to the bottom of the footer. |
Change
|
A command that specifies the distance from the top of the page to the top of the header. |
Close
|
A command that closes header’s and footer’s edit mode. |
Go
|
A command that navigates to the next header or footer. |
Go
|
A command that allows you to edit a footer on the current page. |
Go
|
A command that allows you to edit a header on the current page. |
Go
|
A command that navigates to the previous header or footer. |
Link
|
A command that links a header/footer to the previous section. |
Toggle
|
A command that specifies whether the first page header/footer is unique. |
Toggle
|
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.