Skip to main content

TdxRichEditControlSetFloatingObjectThroughTextWrapType Class

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

Declaration

TdxRichEditControlSetFloatingObjectThroughTextWrapType = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetFloatingObjectThroughTextWrapType action object moves the selected floating object to the “text” document layer and wraps the text around the floating object. The text can fill the transparent background area within the object itself.

If the floating object is already anchored to the “text” document layer and the text is already wrapped around the selected floating object filling its transparent areas, executing the TdxRichEditControlSetFloatingObjectThroughTextWrapType action object has no effect.

In order to change the floating object’s z-order within the same document layer, you can use the FloatingObjectBringForward, FloatingObjectSendBackward, FloatingObjectSendToBack, and FloatingObjectBringToFront commands.

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

See Also