officefileapi-devexpress-dot-spreadsheet-dot-documentformat-f8d33049.md
Microsoft Office Open XML format - the default file format starting with Microsoft Excel 2007. File extension - .xlsx.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
[Browsable(false)]
public static readonly DocumentFormat OpenXml
<Browsable(False)>
Public Shared ReadOnly OpenXml As DocumentFormat
| Type | Description |
|---|---|
| DocumentFormat |
A document format.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the OpenXml field.
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.
// Load a workbook from a file.
workbook.LoadDocument("..\\..\\..\\Documents\\Document.xlsx", DocumentFormat.OpenXml);
#endregion #LoadDocumentFromFile
// Load a workbook from a file.
workbook.LoadDocument("Documents\\Document.xlsx", DocumentFormat.OpenXml);
#endregion #LoadDocumentFromFile
winforms-spreadsheetcontrol-api-part1/CS/SpreadsheetControl/Form1.cs#L135
// Load a workbook from a file.
spreadsheetControl1.LoadDocument("Documents\\Document.xlsx", DocumentFormat.OpenXml);
#endregion #LoadDocumentFromFile
winforms-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_API_Part02/Form1.cs#L146
// Load a workbook from the file.
workbook.LoadDocument("Documents\\Document.xlsx", DocumentFormat.OpenXml);
#endregion #LoadDocumentFromFile
// Load a workbook from a file.
workbook.LoadDocument("Documents\\Document.xlsx", DocumentFormat.OpenXml);
#endregion #LoadDocumentFromFile
' Load a workbook from a file.
workbook.LoadDocument("..\..\..\Documents\Document.xlsx", DocumentFormat.OpenXml)
#End Region
' Load a workbook from a file.
workbook.LoadDocument("Documents\Document.xlsx", DocumentFormat.OpenXml)
' #End Region ' #LoadDocumentFromFile
winforms-spreadsheetcontrol-api-part1/VB/SpreadsheetControl/Form1.vb#L129
' Load a workbook from a file.
spreadsheetControl1.LoadDocument("Documents\Document.xlsx", DocumentFormat.OpenXml)
' #End Region ' #LoadDocumentFromFile
winforms-spreadsheetcontrol-api-part-2/VB/SpreadsheetControl_API_Part02/Form1.vb#L135
' Load a workbook from the file.
workbook.LoadDocument("Documents\Document.xlsx", DocumentFormat.OpenXml)
' #End Region ' #LoadDocumentFromFile
' Load a workbook from a file.
workbook.LoadDocument("Documents\Document.xlsx", DocumentFormat.OpenXml)
' #End Region ' #LoadDocumentFromFile
See Also