corelibraries-devexpress-dot-xtraprinting-e59b7404.md
Lists the values that specify the available export formats.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public enum ExportFormat
Public Enum ExportFormat
| Name | Description |
|---|---|
Pdf |
The PDF export format.
|
| Htm |
The HTML export format.
|
| Mht |
The MHT export format.
|
| Rtf |
The RTF export format.
|
| Docx |
The DOCX export format.
|
| Xls |
The XLS export format.
|
| Xlsx |
The XLSX export format.
|
| Csv |
The CSV export format.
|
| Txt |
The TXT export format.
|
| Image |
The image export format.
|
| Xps |
The XPS export format.
|
| Prnx |
The PRNX export format.
For internal use only.
|
The following properties accept/return ExportFormat values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | DocumentExportArgs.Format |
| WPF Controls | ExportOptionsViewModelBase.ExportFormat |
| IDocumentViewModel.DefaultExportFormat | |
| IDocumentViewModel.DefaultSendFormat | |
| .NET Reporting Tools | ExportFormatItem.Format |
| ReportExportSettings.ExportFormat |
The values listed in the ExportFormat enumeration are passed as a parameter by the ReportService.StartExport method.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportFormat enum.
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.
<dxp:DocumentPreviewControl.HiddenExportFormats>
<printing:ExportFormat>Htm</printing:ExportFormat>
<printing:ExportFormat>Mht</printing:ExportFormat>
See Also