Skip to main content

PageLayoutTabCommandId Enum

Lists commands contained in the Page Layout tab.

Declaration

export enum PageLayoutTabCommandId {
    MarginsMenu = 434,
    OrientationMenu = 435,
    SizeMenu = 436,
    ColumnsMenu = 437,
    BreaksMenu = 438,
    SetSectionNormalPageMargins = 66,
    SetSectionNarrowPageMargins = 67,
    SetSectionModeratePageMargins = 68,
    SetSectionWidePageMargins = 69,
    ShowMarginsPageSetupDialog = 70,
    SetPortraitPageOrientation = 71,
    SetLandscapePageOrientation = 72,
    SetSectionLetterPaperSize = 162,
    SetSectionLegalPaperSize = 99,
    SetSectionFolioPaperSize = 100,
    SetSectionA4PaperSize = 101,
    SetSectionB5PaperSize = 104,
    SetSectionExecutivePaperSize = 105,
    SetSectionA5PaperSize = 102,
    SetSectionA6PaperSize = 103,
    ShowPageSetupDialog = 73,
    SetSectionOneColumn = 74,
    SetSectionTwoColumns = 75,
    SetSectionThreeColumns = 76,
    InsertPageBreak = 54,
    InsertColumnBreak = 79,
    InsertSectionBreakNextPage = 80,
    InsertSectionBreakEvenPage = 81,
    InsertSectionBreakOddPage = 82,
    ChangePageColor = 90
}

Members

Name Description
BreaksMenu

A command that shows the Breaks menu.

ChangePageColor

A command that sets the background color of all pages.

ColumnsMenu

A command that shows the Columns menu.

InsertColumnBreak

A command that inserts a column break.

InsertPageBreak

A command that inserts a page break.

InsertSectionBreakEvenPage

A command that inserts a section break and starts a new section on the next even-numbered page.

InsertSectionBreakNextPage

A command that inserts a section break and starts a new section on the next page.

InsertSectionBreakOddPage

A command that inserts a section break and starts a new section on the next odd-numbered page.

MarginsMenu

A command that shows the Margins menu.

OrientationMenu

A command that shows the Orientation menu.

SetLandscapePageOrientation

A command that sets the page orientation to landscape.

SetPortraitPageOrientation

A command that sets the page orientation to portrait.

SetSectionA4PaperSize

A command that sets a section's page size to A4.

SetSectionA5PaperSize

A command that sets a section's page size to A5.

SetSectionA6PaperSize

A command that sets a section's page size to A6.

SetSectionB5PaperSize

A command that sets a section's page size to B5.

SetSectionExecutivePaperSize

A command that sets a section's page size to “Executive”.

SetSectionFolioPaperSize

A command that sets a section's page size to “Folio”.

SetSectionLegalPaperSize

A command that sets a section's page size to “Legal”.

SetSectionLetterPaperSize

A command that sets a section's page size to “Letter”.

SetSectionModeratePageMargins

A command that sets moderate page margins for a section.

SetSectionNarrowPageMargins

A command that sets narrow page margins for a section.

SetSectionNormalPageMargins

A command that sets normal page margins for a section.

SetSectionOneColumn

A command that shows the content of the current section in one column.

SetSectionThreeColumns

A command that shows the content of the current section in three columns.

SetSectionTwoColumns

A command that shows the content of the current section in two columns.

SetSectionWidePageMargins

A command that sets wide page margins for a section.

ShowMarginsPageSetupDialog

A command that shows the Margins tab of the Page Setup dialog.

ShowPageSetupDialog

A command that shows the Page Setup dialog.

SizeMenu

A command that shows the Size menu.

Remarks

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

richEdit.executeCommand(DevExpress.RichEdit.PageLayoutTabCommandId.OrientationMenu);

The PageLayoutTabItemId enum contains identifiers of the Page Layout 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 Page Layout tab.

See Also