Class HiddenDataSanitizer
Contents
[
Hide
]HiddenDataSanitizer class
Represents a class for sanitizing hidden data.
public sealed class HiddenDataSanitizer
Constructors
| Name | Description |
|---|---|
| HiddenDataSanitizer(HiddenDataSanitizationOptions) | Provides functionality to sanitize hidden data from a PDF document, ensuring that sensitive or unnecessary information such as metadata, annotations, JavaScripts, or private content is removed or transformed. |
Methods
| Name | Description |
|---|---|
| Sanitize(Document) | Sanitizes a given PDF document by removing or transforming hidden data. |
| static SanitizeAllToImages(Document, int) | Replaces page content with images and removes other hidden data. Allows you to remove hidden text with a background color, as well as text hidden under images. Also completely removes all interactive elements. The document is converted to images as is, and then cleared of any remaining hidden data. If you need to clear first and then convert, use the main class method. |
See Also
- namespace Aspose.Pdf.Security.HiddenDataSanitization
- assembly Aspose.PDF