Skip to main content

TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType Class

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

Declaration

TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType action object moves the selected floating object to the “text” document layer and positions it between two adjacent text lines. As a result, the document text is visually split in two by the floating object:

VCL Rich Edit Control: A Set Floating Object Top and Bottom Text Wrap Operation Example

If the floating object is already anchored to the “text” document layer between two adjacent text lines, executing the TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType action object has no effect.

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 TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType action object are Enabled only if the following conditions are met:

See Also