Skip to main content
A newer version of this page is available. .

TdxRichEditControlSwitchToPrintLayoutView Class

An action object that corresponds to the SwitchToPrintLayoutView command provided by the Rich Edit control.

Declaration

TdxRichEditControlSwitchToPrintLayoutView = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSwitchToPrintLayoutView action object activates the Print Layout document view mode that displays all document formatting, including complex layout features, allowing an end-user to preview the actual document printout:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSwitchToPrintLayoutView action object, use the sdxRichEditCommandSwitchToPrintLayoutViewMenuCaption and sdxRichEditCommandSwitchToPrintLayoutViewDescription resource strings, respectively.

Note

If a document is already displayed in print layout view mode, executing this action object has no effect.

See Also