Skip to main content
Row

SpreadsheetBeforeImportEventArgs(DocumentFormat, IImporterOptions) Constructor

Initializes a new instance of the SpreadsheetBeforeImportEventArgs class with the specified settings.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public SpreadsheetBeforeImportEventArgs(
    DocumentFormat documentFormat,
    IImporterOptions options
)

Parameters

Name Type Description
documentFormat DocumentFormat

A DocumentFormat enumeration member specifying the format of the document that will be imported.

options IImporterOptions

An IImporterOptions object containing import options.

Remarks

The SpreadsheetBeforeImportEventArgs is created automatically and passed to the handler of the SpreadsheetControl.BeforeImport event.

See Also