TRVDocumentProperty.FieldFormat

<< Click to display table of contents >>

TRVDocumentProperty.FieldFormat

Format for saving data in the database field (linked using LiveBindings)

property FieldFormat: TRVDBFieldFormat;

This property controls loading document from TBlobField linked to this TRichViewEdit using LiveBindings (Delphi XE2+). This property is used only in TRichViewEdit (because TRichView does not save data to a database field).

This property allows changing the field saving format to RVF (RichView Format), RTF, DocX or plain text.

Note: It is not guaranteed that document saved in RTF, DocX and text will be the same after reloading (some item types, text and paragraph attributes cannot be saved in RTF, DocX or plain text).

You can save data in your own format using OnSaveCustomFormat event.

Default value:

rvdbRVF

 

See also

TDBRichViewEdit.FieldFormat

TRichViewEdit.OnSaveCustomFormat