Back to Devexpress

ExportFormat Enum

corelibraries-devexpress-dot-xtraprinting-e59b7404.md

latest3.3 KB
Original Source

ExportFormat Enum

Lists the values that specify the available export formats.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public enum ExportFormat
vb
Public Enum ExportFormat

Members

NameDescription
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:

LibraryRelated API Members
Cross-Platform Class LibraryDocumentExportArgs.Format
WPF ControlsExportOptionsViewModelBase.ExportFormat
IDocumentViewModel.DefaultExportFormat
IDocumentViewModel.DefaultSendFormat
.NET Reporting ToolsExportFormatItem.Format
ReportExportSettings.ExportFormat

Remarks

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.

reporting-wpf-hide-specific-export-formats-from-the-document-preview-control/CS/HideExportFormats/MainWindow.xaml#L20

xml
<dxp:DocumentPreviewControl.HiddenExportFormats>
    <printing:ExportFormat>Htm</printing:ExportFormat>
    <printing:ExportFormat>Mht</printing:ExportFormat>

See Also

DevExpress.XtraPrinting Namespace