Back to Devexpress

TdxRichEditControlSetFloatingObjectTightTextWrapType Class

vcl-dxrichedit-dot-actions-fd1cdbd4.md

latest5.0 KB
Original Source

TdxRichEditControlSetFloatingObjectTightTextWrapType Class

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

Declaration

delphi
TdxRichEditControlSetFloatingObjectTightTextWrapType = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. The SetFloatingObjectTightTextWrapType command-specific behavior (i.e., wrapping the text tightly around the selected floating object which has an irregular shape) is not yet implemented. Currently, executing a TdxRichEditControlSetFloatingObjectTightTextWrapType action object performs the same operation as the TdxRichEditControlSetFloatingObjectSquareTextWrapType action, i.e., 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 TdxRichEditControlSetFloatingObjectTightTextWrapType 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 TdxRichEditControlSetFloatingObjectTightTextWrapType action object are enabled only if the following conditions are met:

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlSetFloatingObjectTightTextWrapType

See Also

TdxRichEditControlSetFloatingObjectBehindTextWrapType Class

TdxRichEditControlSetFloatingObjectInFrontOfTextWrapType Class

TdxRichEditControlSetFloatingObjectSquareTextWrapType Class

TdxRichEditControlSetFloatingObjectThroughTextWrapType Class

TdxRichEditControlSetFloatingObjectTopAndBottomTextWrapType Class

TdxRichEditControlSetFloatingObjectTightTextWrapType Members

dxRichEdit.Actions Unit