Back to Devexpress

IdxRichEditDocument.Cut(IdxRichEditDocumentRange) Method

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocument-dot-cut-x28-dxrichedit-dot-nativeapi-dot-idxricheditdocumentrange-x29.md

latest1.7 KB
Original Source

IdxRichEditDocument.Cut(IdxRichEditDocumentRange) Method

Cuts the specified document range or selection(s) to the clipboard.

Declaration

delphi
procedure Cut(const ARange: IdxRichEditDocumentRange); overload;

Parameters

NameType
ARangeIdxRichEditDocumentRange

Remarks

Call this procedure to move the document selections to the clipboard. The second overloaded variant allows you to cut a specific document range passed as the ARange parameter instead of the document selection(s).

The first overloaded variant works identically to the Rich Edit control’s Cut procedure. Alternatively, you can execute a TdxRichEditControlCutSelection action object to produce the same effect.

Note

The Cut procedure is not affected by the Rich Edit control’s Options.Behavior.Cut property value.

See Also

IdxRichEditDocument.Copy

IdxRichEditDocument.Paste

IdxRichEditDocument Interface

IdxRichEditDocument Members

dxRichEdit.NativeApi Unit