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

TdxRichEditControlSetFloatingObjectMiddleCenterAlignment Class

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

Declaration

TdxRichEditControlSetFloatingObjectMiddleCenterAlignment = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetFloatingObjectMiddleCenterAlignment action object centers the selected floating object both horizontally and vertically on the document page:

UI elements linked to a TdxRichEditControlSetFloatingObjectMiddleCenterAlignment action object are enabled only if the following conditions are met:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetFloatingObjectMiddleCenterAlignment action object, use the sdxRichEditCommandSetFloatingObjectMiddleCenterAlignmentMenuCaption and sdxRichEditCommandSetFloatingObjectMiddleCenterAlignmentDescription resource strings, respectively.

See Also