Pdf | |
The PdfSanitizeManager type exposes the following members.
| Name | Description | |
|---|---|---|
| Close | Closes the loaded document. | |
| Dispose | Releases the loaded document, the same as Close; calling it more than once does nothing. | |
| GetDocument | Returns the sanitized document as a new PdfDocument; the document is sanitized first when Sanitize was not called. | |
| Load(Byte) | Loads a PDF document from a byte array. | |
| Load(PdfDocument) | Loads an existing PdfDocument. It is not changed: the result is saved with Save(String) or obtained from GetDocument. | |
| Load(Stream) | Loads a PDF document from a stream. | |
| Load(String) | Loads a PDF document from a file. | |
| Load(Byte, String) | Loads a password-protected PDF document from a byte array. | |
| Load(PdfDocument, String) | Loads an existing password-protected PdfDocument. | |
| Load(Stream, String) | Loads a password-protected PDF document from a stream. | |
| Load(String, String) | Loads a password-protected PDF document from a file. | |
| Sanitize | Sanitizes the document: removes what Options names, or with Rasterize replaces every page with an image of itself. The result is what Save writes. | |
| Save | Saves the sanitized document and returns its bytes; the document is sanitized first when Sanitize was not called. | |
| Save(Stream) | Saves the sanitized document to a stream; the document is sanitized first when Sanitize was not called. | |
| Save(String) | Saves the sanitized document to a file; the document is sanitized first when Sanitize was not called. | |
| Scan | Reports everything the document holds of every kind PdfSanitizeOptions names; changes nothing. |