Skip to main content

IdxRichEditDocument.Copy(IdxRichEditDocumentRange) Method

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

Declaration

procedure Copy(const ARange: IdxRichEditDocumentRange); overload;

Parameters

Name Type
ARange IdxRichEditDocumentRange

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