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