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

TdxRichEditControlSetFloatingObjectSquareTextWrapType Class

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

Declaration

TdxRichEditControlSetFloatingObjectSquareTextWrapType = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetFloatingObjectSquareTextWrapType action object moves the selected floating object to the “text” document layer and wraps the text around all sides of the floating object’s bounding square:

If the floating object is already anchored to the “text” document layer and the text is already wrapped around all sides of the object’s bounding square, executing the TdxRichEditControlSetFloatingObjectSquareTextWrapType 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 TdxRichEditControlSetFloatingObjectSquareTextWrapType action object are enabled only if the following conditions are met:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetFloatingObjectSquareTextWrapType action object, use the sdxRichEditCommandSetFloatingObjectSquareTextWrapTypeMenuCaption and sdxRichEditCommandSetFloatingObjectSquareTextWrapTypeDescription resource strings, respectively.

See Also