TRVDBFieldFormat Type

<< Click to display table of contents >>

TRVDBFieldFormat Type

Format for saving data in the database field

Unit [VCL/FMX] RichView / fmxRichView;

type

  TRVDBFieldFormat = 

    (rvdbRVF, rvdbRTF, rvdbDocX, rvdbText, rvdbHTML,

     rvdbMarkdown)

Value

Meaning

rvdbRVF

RichView Format (RVF)*

rvdbRTF

Rich Text Format (RTF)

rvdbDocX

Microsoft Word Document (DocX)*

rvdbText

Plain text**

rvdbHTML

HTML***

rvdbMarkdown

Markdown**

* RVF or DocX cannot be saved in WideMemo fields (fields having DataType=ftWideMemo). For these fields, RTF is saved.

** Unicode (UTF-16) text for WideMemo fields, text in the specified code page otherwise.

*** For WideMemo fields, HTML is saved in UTF-16 encoding, ignoring HTMLSaveProperties.Encoding and EncodingStr.

See also:

TRichView.Document.FieldFormat (live binding)

TDBRichViewEdit.FieldFormat