Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • 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

    string TextFormat { get; set; }

    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