Skip to main content

IdxRichEditDocument.Cut(IdxRichEditDocumentRange) Method

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

Declaration

procedure Cut(const ARange: IdxRichEditDocumentRange); overload;

Parameters

Name Type
ARange IdxRichEditDocumentRange

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