In This Topic
Converts the specified value to the corresponding OpenXml data type.
Syntax
'Declaration
Function Export( _
ByVal As ExportContext, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Object, _
ByVal As Expression, _
ByVal As Integer, _
ByVal 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)
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