Skip to main content

IXlDocumentOptions.DocumentFormat Property

Gets the file format to which the document is exported.

Namespace: DevExpress.Export.Xl

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

Declaration

XlDocumentFormat DocumentFormat { get; }

Property Value

Type Description
XlDocumentFormat

An XlDocumentFormat enumeration value that specifies the document format.

Available values:

Name Description
Xlsx

The OpenXML file format for the workbook (default MS Excel 2007 format). File extension - .xlsx.

Xls

MS Excel 97-2003 binary file format.

Csv

The CSV format (Comma-Separated Values) - the file format to store tabular data as plain text using commas as separators between cells.

Property Paths

You can access this nested property as listed below:

Object Type Path to DocumentFormat
IXlDocument
.Options .DocumentFormat

The following code snippets (auto-collected from DevExpress Examples) contain references to the DocumentFormat property.

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.

See Also