TCustomRichView.DocParameters

<< Click to display table of contents >>

TCustomRichView.DocParameters

Page properties.

property DocParameters: TRVDocParameters;

(introduced in version 10)

Subproperties of this property are not used by TRichView itself, but can be written and read in RVF, RTF, DocX, HTML.

Besides, they can be assigned to TRVPrint using the method AssignDocParameters.

RVF

DocParameters are stored with DocProperties.

How to save to RVF: include rvfoSaveDocProperties in RVFOptions.

How to load from RVF: include rvfoLoadDocProperties in RVFOptions.

RTF and DocX

How to save to RTF/DocX: include rvrtfSaveDocParameters in RTFOptions.

How to load from RTF/DocX: set RTFReadProperties.ReadDocParameters = True.

HTML

Title and Comments can be stored in HTML.

How to save to HTML: Title and Comments are always saved in HTML.

How to load from RTF: set HTMLReadProperties.ReadDocParameters = True.

See also events:

OnSaveRTFExtra;

OnSaveDocXExtra;

OnSaveHTMLExtra.