Skip to main content
A newer version of this page is available. .

IXlDocumentOptions.DocumentFormat Property

Gets the file format to which the document is exported.

Namespace: DevExpress.Export.Xl

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

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
See Also