Aspose::Pdf::Security::HiddenDataSanitization::HiddenDataSanitizer::SanitizeAllToImages method
Contents
[
Hide
]HiddenDataSanitizer::SanitizeAllToImages method
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.
static void Aspose::Pdf::Security::HiddenDataSanitization::HiddenDataSanitizer::SanitizeAllToImages(const System::SharedPtr<Document> &document, int32_t dpi=150)
| Parameter | Type | Description |
|---|---|---|
| document | const System::SharedPtr<Document>& | The docunent object. |
| dpi | int32_t | The dpi of pages’ images. |
See Also
- Typedef SharedPtr
- Class Document
- Class HiddenDataSanitizer
- Namespace Aspose::Pdf::Security::HiddenDataSanitization
- Library Aspose.PDF for C++