Back to Devexpress

IModelRichTextFormatSettings.DocumentStorageFormat Property

expressappframework-devexpress-dot-expressapp-dot-office-dot-imodelrichtextformatsettings.md

latest2.3 KB
Original Source

IModelRichTextFormatSettings.DocumentStorageFormat Property

Specifies the document format that is stored in the database and used by the Rich Text Property Editor.

Namespace : DevExpress.ExpressApp.Office

Assembly : DevExpress.ExpressApp.Office.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Office

Declaration

csharp
[ModelBrowsable(typeof(RichTextPropertyEditorStorageFormatCalculator))]
DocumentStorageFormat DocumentStorageFormat { get; set; }
vb
<ModelBrowsable(GetType(RichTextPropertyEditorStorageFormatCalculator))>
Property DocumentStorageFormat As DocumentStorageFormat

Property Value

TypeDescription
DocumentStorageFormat

The document format that is stored in the database and used by the Rich Text Property Editor.

|

Available values:

NameDescription
Rtf

The document is stored in the RTF format.

| | Html |

The document is stored in the HTML format.

|

Remarks

This property is visible in the Model Editor. Specify DocumentStorageFormat when you use the Rich Text Property Editor for a business class property.

You can use a byte array property to save documents in the DOCX format or a string property to store documents in the RTF and HTML formats.

See Also

Use Rich Text Documents in Business Objects

IModelRichTextFormatSettings Interface

IModelRichTextFormatSettings Members

DevExpress.ExpressApp.Office Namespace