Back to Devexpress

TdxRichEditControlPasteSelection Class

vcl-dxrichedit-dot-actions-b3c303da.md

latest2.9 KB
Original Source

TdxRichEditControlPasteSelection Class

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

Declaration

delphi
TdxRichEditControlPasteSelection = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Depending on the clipboard’s current content, executing a TdxRichEditControlPasteSelection action object performs one of the following operations:

  • Pastes a formatted text at the caret position or replaces the current text selection with the text.
  • Inserts a bitmap image as an inline picture at the caret position (or replaces the current text selection with the pasted inline picture).
  • Inserts a previously copied floating object, retaining all of its anchoring settings.

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

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlPasteSelection

See Also

TdxRichEditControlCopySelection Class

TdxRichEditControlCutSelection Class

TdxRichEditControlPasteSelection Members

dxRichEdit.Actions Unit