rvico TRichView Reference | TRichView

TCustomRichView.CopyRTF

Top  Previous  Next

Copies the selected part of the document to the Clipboard as RTF (Rich Text Format).

procedure CopyRTF;

This procedure does nothing if there is nothing selected.

This procedure clears Clipboard before copying.

Settings for RTF saving can be changed in the TRichView component editor.

Options for saving are in RTFOptions property.

By default, items tags are saved as hyperlinks targets. You can customize saving using OnWriteHyperlink event.

This method must be called only when the document is formatted.

See also:

SaveRTF, SaveRTFToStream methods;

RTFOptions property;

UseStyleTemplates property;

Working with selection;

Working with Clipboard.


TRichView © trichview.com