Skip to main content
.NET Framework 4.5.2+
Row

DocumentFormat Struct

A document format.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.1.Core.dll

Declaration

[TypeConverter(typeof(DocumentFormatTypeConverter))]
[ComVisible(false)]
public struct DocumentFormat :
    IConvertToInt<DocumentFormat>,
    IEquatable<DocumentFormat>

Remarks

Use the DocumentFormat fields to specify the file format for a loaded or saved workbook, as shown in the table below.

Component Load / Save Methods Examples
A non-visual Workbook Workbook.LoadDocument
Workbook.LoadDocumentAsync
Workbook.SaveDocument
Workbook.SaveDocumentAsync
How to: Load a Document to a Workbook
How to: Save a Document to a File
WinForms Spreadsheet SpreadsheetControl.LoadDocument
IWorkbook.LoadDocument
SpreadsheetControl.SaveDocument
IWorkbook.SaveDocument
How to: Load a Document into SpreadsheetControl
How to: Save a Document to a File
WPF Spreadsheet SpreadsheetControl.LoadDocument
IWorkbook.LoadDocument
SpreadsheetControl.SaveDocument
IWorkbook.SaveDocument
How to: Load a Document into SpreadsheetControl
How to: Save a Document to a File

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DocumentFormat struct.

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