Workbook.Sanitize() Method
Sanitizes the workbook content according to the default options.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Docs.v26.1.dll
Declaration
Returns
| Type | Description |
|---|---|
| IReadOnlyList<WorkbookSanitizeResult> | A list of results that contain information about the sanitized content. |
Remarks
The Sanitize method overload sanitizes the following content in a workbook:
- Metadata — document properties (Author, Title, Company, and custom fields)
- Revision history — tracked changes, comments, and other revision data
- Hidden content — hidden text/rows/columns
Use the Sanitize(WorkbookSanitizeOptions) method overload to specify the content to sanitize and the action to perform with it.
See Also