TdxRichEditControlFloatingObjectSendToBack Class
An action object that corresponds to the FloatingObjectSendToBack command provided by the Rich Edit control.
Declaration
TdxRichEditControlFloatingObjectSendToBack = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlFloatingObjectSendToBack
action object sets the selected floating object’s z-order to zero. If the floating object is already displayed under all other objects within the same layer, executing this action object has no effect. In order to move the currently selected floating object between the document’s layers (i.e., wrap text around the floating object, anchor it in front of, or behind text), you can use the SetFloatingObjectSquareTextWrapType, SetFloatingObjectInFrontOfTextWrapType, and SetFloatingObjectBehindTextWrapType commands.
UI elements linked to a TdxRichEditControlFloatingObjectSendToBack
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.FloatingObjects property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
- A floating object is currently selected.
- The selection is not located within a floating object (for instance, the caret or text selection is not located within a text box).