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 |
---|---|
Breaks
|
A command that shows the Breaks menu. |
Change
|
A command that sets the background color of all pages. |
Columns
|
A command that shows the Columns menu. |
Insert
|
A command that inserts a column break. |
Insert
|
A command that inserts a page break. |
Insert
|
A command that inserts a section break and starts a new section on the next even-numbered page. |
Insert
|
A command that inserts a section break and starts a new section on the next page. |
Insert
|
A command that inserts a section break and starts a new section on the next odd-numbered page. |
Margins
|
A command that shows the Margins menu. |
Orientation
|
A command that shows the Orientation menu. |
Set
|
A command that sets the page orientation to landscape. |
Set
|
A command that sets the page orientation to portrait. |
Set
|
A command that sets a section's page size to A4. |
Set
|
A command that sets a section's page size to A5. |
Set
|
A command that sets a section's page size to A6. |
Set
|
A command that sets a section's page size to B5. |
Set
|
A command that sets a section's page size to “Executive”. |
Set
|
A command that sets a section's page size to “Folio”. |
Set
|
A command that sets a section's page size to “Legal”. |
Set
|
A command that sets a section's page size to “Letter”. |
Set
|
A command that sets moderate page margins for a section. |
Set
|
A command that sets narrow page margins for a section. |
Set
|
A command that sets normal page margins for a section. |
Set
|
A command that shows the content of the current section in one column. |
Set
|
A command that shows the content of the current section in three columns. |
Set
|
A command that shows the content of the current section in two columns. |
Set
|
A command that sets wide page margins for a section. |
Show
|
A command that shows the Margins tab of the Page Setup dialog. |
Show
|
A command that shows the Page Setup dialog. |
Size
|
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.