Back to Devexpress

Workbook.BeforeExport Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-2effb938.md

latest2.2 KB
Original Source

Workbook.BeforeExport Event

Occurs before the document is saved (exported to a certain format).

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 BeforeExportEventHandler BeforeExport
vb
Public Event BeforeExport As BeforeExportEventHandler

Event Data

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

PropertyDescription
DocumentFormatGets the format of the document to which the worksheet will be exported.
OptionsProvides access to the options specific to export.

Implements

BeforeExport

See Also

SaveDocument

How to: Save a Document to a File

How to: Export a Workbook to PDF

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace