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

TdxRichEditControlSwitchToDraftView Class

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

Declaration

TdxRichEditControlSwitchToDraftView = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSwitchToDraftView action object activates the Draft document view mode that hides many complex formatting features, such as headers/footers, pagination, column breakdown, etc. Unlike the Simple document view, this mode shows the horizontal ruler:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSwitchToDraftView action object, use the sdxRichEditCommandSwitchToDraftViewMenuCaption and sdxRichEditCommandSwitchToDraftViewDescription resource strings, respectively.

Note

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

See Also