Spread Windows Forms 12.0 Product Documentation
ImportContext Constructor


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet.IO.OpenXml Namespace > ImportContext Class : ImportContext Constructor
The unit converter which converts measurement values.
The password request delegate which will be called if the document is protected.
Initializes a new instance of the ImportContext class.
Syntax
'Declaration
 
Public Function New( _
   Optional ByVal unitConverter As UnitConverter, _
   Optional ByVal passwordRequestDelegate As Func(Of String) _
)
'Usage
 
Dim unitConverter As UnitConverter
Dim passwordRequestDelegate As Func(Of String)
 
Dim instance As New ImportContext(unitConverter, passwordRequestDelegate)
public ImportContext( 
   UnitConverter unitConverter,
   Func<string> passwordRequestDelegate
)

Parameters

unitConverter
The unit converter which converts measurement values.
passwordRequestDelegate
The password request delegate which will be called if the document is protected.
See Also

Reference

ImportContext Class
ImportContext Members