Spread WPF 18
GrapeCity.Spreadsheet.IO.OpenXml Namespace / ICellExporter Interface / Export Method
An ExportContext object indicates the export context.
An integer value indicates the row index of cell.
An integer value indicates the column index of cell.
The value of cell.
The expression of cell.
The ID of the cell style. Use %Export(ExportContext, object, int, IPrimitiveValue)% to get the cell style.
A GrapeCity.CalcEngine.PrimitiveValue value to store the converted data.


In This Topic
    Export Method
    In This Topic
    Converts the specified value to the corresponding OpenXml data type.
    Syntax
    'Declaration
     
    Function Export( _
       ByVal context As ExportContext, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal value As Object, _
       ByVal expression As Expression, _
       ByVal cellStyleId As Integer, _
       ByVal result As IPrimitiveValue _
    ) As Boolean
    'Usage
     
    Dim instance As ICellExporter
    Dim context As ExportContext
    Dim row As Integer
    Dim column As Integer
    Dim value As Object
    Dim expression As Expression
    Dim cellStyleId As Integer
    Dim result As IPrimitiveValue
    Dim value As Boolean
     
    value = instance.Export(context, row, column, value, expression, cellStyleId, result)
    bool Export( 
       ExportContext context,
       int row,
       int column,
       object value,
       Expression expression,
       int cellStyleId,
       IPrimitiveValue result
    )

    Parameters

    context
    An ExportContext object indicates the export context.
    row
    An integer value indicates the row index of cell.
    column
    An integer value indicates the column index of cell.
    value
    The value of cell.
    expression
    The expression of cell.
    cellStyleId
    The ID of the cell style. Use %Export(ExportContext, object, int, IPrimitiveValue)% to get the cell style.
    result
    A GrapeCity.CalcEngine.PrimitiveValue value to store the converted data.

    Return Value

    true if the specified value can be exported to OpenXml format; otherwise, false.
    See Also