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.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Office
#Declaration
[ModelBrowsable(typeof(RichTextPropertyEditorStorageFormatCalculator))]
DocumentStorageFormat DocumentStorageFormat { get; set; }
#Property Value
Type | Description |
---|---|
Document |
The document format that is stored in the database and used by the Rich Text Property Editor. |
Available values:
Name | Description |
---|---|
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.