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)
| Parameter | Type | Description |
|---|
| excelFilePath | String | The file path of the Excel file to be redacted. |
| uid | String | The unique identifier for the workbook. If null or empty, a new uid will be generated based on the file path. |
| arrayOfRedactionOpr | String[] | An array of JSON strings representing the redaction operations to be applied. |
Exceptions
| exception | condition |
|---|
| GridCellException | Thrown when a CellsException occurs during redaction operation. |
| Exception | Thrown when a general exception occurs during redaction operation. |
See Also