TdxRichEditControlSetLandscapePageOrientation Class
An action object that corresponds to the SetLandscapePageOrientation command provided by the Rich Edit control.
Declaration
TdxRichEditControlSetLandscapePageOrientation = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlSetLandscapePageOrientation command applies the landscape page orientation to all pages in the current document section.
UI elements linked to a TdxRichEditControlSetLandscapePageOrientation 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.DocumentCapailities.Sections property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetLandscapePageOrientation action object, use the sdxRichEditCommandSetLandscapePageOrientationMenuCaption and sdxRichEditCommandSetLandscapePageOrientationDescription resource strings, respectively.