GridJsWorkbook.RedactFile

GridJsWorkbook.RedactFile method

Performs redaction on an Excel file based on an array of JSON operations.

public void RedactFile(string excelFilePath, string uid, string[] arrayOfRedactionOpr)
ParameterTypeDescription
excelFilePathStringThe file path of the Excel file to be redacted.
uidStringThe unique identifier for the workbook. If null or empty, a new uid will be generated based on the file path.
arrayOfRedactionOprString[]An array of JSON strings representing the redaction operations to be applied.

Exceptions

exceptioncondition
GridCellExceptionThrown when a CellsException occurs during redaction operation.
ExceptionThrown when a general exception occurs during redaction operation.

See Also