TdxRichEditControlToggleDifferentOddAndEvenPages Class
An action object that corresponds to the ToggleDifferentOddAndEvenPages command provided by the Rich Edit control.
Declaration
TdxRichEditControlToggleDifferentOddAndEvenPages = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlToggleDifferentOddAndEvenPages action object allows an end-user to enable or disable different headers and footers displayed on the odd and even pages of the current document.
UI elements linked to a TdxRichEditControlToggleDifferentOddAndEvenPages action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.HeadersFooters property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
Either the header or footer editing mode is currently active.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlToggleDifferentOddAndEvenPages action object, use the sdxRichEditCommandToggleDifferentFirstPageMenuCaption and sdxRichEditCommandToggleDifferentFirstPageDescription resource strings, respectively.