TCustomRichView.DocProperties

<< Click to display table of contents >>

TCustomRichView.DocProperties

Text strings to store in RVF file or stream

property DocProperties: TStringList;

(introduced in v1.8)

This property is public,so it is not available at design time.

Items of this list can contain line break characters (#13 and #10), but cannot contain #01 and #02 characters.

If rvfoSaveDocProperties is in RVFOptions, these strings are saved in RVF.

If rvfoLoadDocProperties is in RVFOptions, methods for loading RVF load these strings. Methods for inserting RVF ignore these strings.

There is one more property allowing to save custom data in RVF: DocObjects.

Method TRichView.Clear clears DocProperties.

See also methods for saving RVF (they can save this property):

SaveRVF;

SaveRVFToStream.

See also methods for loading RVF (they can load this property):

LoadRVF;

LoadRVFFromStream.

See also methods of TRichViewEdit for inserting RVF in the caret position (they ignore this property):

InsertRVFFromFileEd;

InsertRVFFromStreamEd;

PasteRVF.

See also methods for inserting RVF (they ignore this property):

InsertRVFFromStream;

AppendRVFFromStream.

See also properties:

RVFOptions.

See also:

Saving and loading RichView documents;

RVF.