[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.IO.OpenXml.ImportContext.-ctor

ImportContext Constructor

ImportContext(UnitConverter, Func<string>)

Initializes a new instance of the ImportContext class.

Declaration
public ImportContext(UnitConverter unitConverter = null, Func<string> passwordRequestDelegate = null)
Public Sub New(Optional unitConverter As UnitConverter = Nothing, Optional passwordRequestDelegate As Func(Of String) = Nothing)
Parameters
Type Name Description
UnitConverter unitConverter

The unit converter which converts measurement values.

Func<string> passwordRequestDelegate

The password request delegate which will be called if the document is protected.