XlsExportOptions.ExportMode Property
Specifies whether the document should be exported to a single or different XLS files, page-by-page.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Printing.v17.2.Core.dll
Declaration
[XtraSerializableProperty]
[DefaultValue(XlsExportMode.SingleFile)]
public XlsExportMode ExportMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
XlsExportMode | SingleFile |
An XlsExportMode enumeration value, representing the XLS export mode. |
Available values:
Name | Description |
---|---|
SingleFile | A document is exported to a single file. Note that in this mode, page headers and footers are added to the resulting XLS file only once, at the beginning and at the end of the document. |
SingleFilePageByPage | A document is exported to a single file, page-by-page. In this mode, each page is exported to an individual sheet of the same XLS file. |
DifferentFiles | A document is exported to multiple files, page-by-page. In this mode every document page is exported to a single XLS file. |
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to ExportMode |
---|---|---|
Cross-Platform Class Library | ExportOptions |
|
WPF Controls | ExportOptionsContainer |
|
Remarks
Note that for exporting to XLSX, the extra mode is supported: single-file page-by-page, which allows exporting to the same document, with each page shown on its own sheet. This is set via the XlsxExportOptions.ExportMode property.