ExportTableOptions.PreprocessExportedValue

ExportTableOptions.PreprocessExportedValue method

Preprocess the value of current cell to be exported.

public virtual bool PreprocessExportedValue(int cellRow, int cellColumn, CellValue value)
ParameterTypeDescription
cellRowInt32the row index of current cell
cellColumnInt32the column index of cell
valueCellValuevalue and type of current cell

Return Value

Whether current cell has been replaced with different type and/or value.

Remarks

The row and column index is cell’s absolute index in the worksheet, not index in the exported table. User may check the value of current cell in the override implementation of this method, if current cell needs to be replaced with other type and value, here the implementation should set the expected type and value to the CellValue object and return true. By default this method does nothing and returns false.

See Also