Back to Devexpress

DocumentFormat.Mht Field

officefileapi-devexpress-dot-xtrarichedit-dot-documentformat-adc5ae93.md

latest2.3 KB
Original Source

DocumentFormat.Mht Field

The MHT format - web page archive format used to save HTML code with resources represented by external links (images etc.), in a single file

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public static readonly DocumentFormat Mht
vb
Public Shared ReadOnly Mht As DocumentFormat

Field Value

TypeDescription
DocumentFormat

A document format.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Mht field.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

word-document-api-automatic-document-conversion-on-web-server/CS/Program.cs#L54

csharp
dictF.Add(DocumentFormat.Html, "htm");
    dictF.Add(DocumentFormat.Mht, "mht");
}

word-document-api-automatic-document-conversion-on-web-server/VB/Program.vb#L49

vb
dictF.Add(DocumentFormat.Html, "htm")
    dictF.Add(DocumentFormat.Mht, "mht")
End Sub

See Also

DocumentFormat Struct

DocumentFormat Members

DevExpress.XtraRichEdit Namespace