Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / ExportContext Class / ExportContext Constructor
The unit converter which converts measurement values.
The handler which provides password for password-protected workbook.


In This Topic
    ExportContext Constructor
    In This Topic
    Initializes a new instance of the ExportContext class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       Optional ByVal unitConverter As UnitConverter, _
       Optional ByVal passwordRequest As Func(Of String) _
    )
    'Usage
     
    
    Dim unitConverter As UnitConverter
    Dim passwordRequest As Func(Of String)
     
    Dim instance As New ExportContext(unitConverter, passwordRequest)
    public ExportContext( 
       UnitConverter unitConverter,
       Func<string> passwordRequest
    )

    Parameters

    unitConverter
    The unit converter which converts measurement values.
    passwordRequest
    The handler which provides password for password-protected workbook.
    See Also