Back to Devexpress

Workbook.BeforeImport Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-1aadc18c.md

latest2.0 KB
Original Source

Workbook.BeforeImport Event

Occurs before a document is loaded (imported from an external source).

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event BeforeImportEventHandler BeforeImport
vb
Public Event BeforeImport As BeforeImportEventHandler

Event Data

The BeforeImport event's data class is SpreadsheetBeforeImportEventArgs. The following properties provide information specific to this event:

PropertyDescription
DocumentFormatGets the format of the document being imported.
OptionsProvides access to options specific to import.

Implements

BeforeImport

See Also

LoadDocument

How to: Load a Document to a Workbook

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace