Back to Devexpress

DocumentFormat Struct

officefileapi-devexpress-dot-spreadsheet-6fc4f8da.md

latest5.4 KB
Original Source

DocumentFormat Struct

A document format.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
[ComVisible(false)]
[TypeConverter(typeof(DocumentFormatTypeConverter))]
public struct DocumentFormat :
    IConvertToInt<DocumentFormat>,
    IEquatable<DocumentFormat>
vb
<TypeConverter(GetType(DocumentFormatTypeConverter))>
<ComVisible(False)>
Public Structure DocumentFormat
    Implements IConvertToInt(Of DocumentFormat),
               IEquatable(Of DocumentFormat)

The following members return DocumentFormat objects:

Show 11 links

LibraryRelated API Members
WPF ControlsSpreadsheetDocumentSource.Format
SpreadsheetImportOptions.FallbackFormat
SpreadsheetSaveOptions.CurrentFormat
SpreadsheetSaveOptions.DefaultFormat
Office File APIIFormatDetectorService.DetectFormat(Stream)
SpreadsheetBeforeExportEventArgs.DocumentFormat
SpreadsheetBeforeImportEventArgs.DocumentFormat
WorkbookImportOptions.FallbackFormat
WorkbookSaveOptions.CurrentFormat
WorkbookSaveOptions.DefaultFormat
ASP.NET Web Forms ControlsSpreadsheetDocumentInfo.DocumentFormat

Remarks

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

ComponentLoad / Save MethodsExamples
A non-visual WorkbookWorkbook.LoadDocument
Workbook.LoadDocumentAsyncWorkbook.SaveDocument
Workbook.SaveDocumentAsyncHow to: Load a Document to a Workbook
How to: Save a Document to a File
WinForms SpreadsheetSpreadsheetControl.LoadDocument
IWorkbook.LoadDocumentSpreadsheetControl.SaveDocument
IWorkbook.SaveDocumentHow to: Load a Document into SpreadsheetControl
How to: Save a Document to a File
WPF SpreadsheetSpreadsheetControl.LoadDocument
IWorkbook.LoadDocumentSpreadsheetControl.SaveDocument
IWorkbook.SaveDocumentHow to: Load a Document into SpreadsheetControl
How to: Save a Document to a File

Implements

IEquatable<DocumentFormat>

See Also

DocumentFormat Members

Supported Spreadsheet Formats

DevExpress.Spreadsheet Namespace