Back to Devexpress

IdxRichEditDocument.Copy(IdxRichEditDocumentRange) Method

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

latest1.6 KB
Original Source

IdxRichEditDocument.Copy(IdxRichEditDocumentRange) Method

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

Declaration

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

Parameters

NameType
ARangeIdxRichEditDocumentRange

Remarks

Call this procedure to copy the document selections to the clipboard. The second overloaded variant allows you to copy 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 Copy procedure. Alternatively, you can execute a TdxRichEditControlCopySelection action object to produce the same effect.

Note

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

See Also

IdxRichEditDocument.Cut

IdxRichEditDocument.Paste

IdxRichEditDocument Interface

IdxRichEditDocument Members

dxRichEdit.NativeApi Unit