SnapText.TextFormat Property
Gets or sets format of the text obtained as the field result.
Namespace: DevExpress.Snap.Core.API
Assembly: DevExpress.Snap.v21.2.Core.dll
NuGet Package: DevExpress.Snap.Core
Declaration
Property Value
Type | Description |
---|---|
String | A String value, specifying the format of the text content. |
Remarks
Use the TextFormat property to specify format of the field result so that the text content is correctly interpreted for proper display. For instance, when the bound data table contains RTF data, set the TextFormat property to “rtf” to display them correctly in the Snap report.
The TextFormat supports the following text formats:
- Plain Text - text without formatting;
- RTF - Rich Text Formatting;
- DOC - Microsoft® Word® 97 - 2003 document formatting;
- OpenXML - Microsoft® Word® 2007 or higher document formatting;
- HTML - HyperText Markup Language markup;
- MHT - Web archive markup;
- WordML - XML-based Microsoft® Word® document markup;
- OpenDocument - XML-based document markup.
See Also