SanitizationReport

SanitizationReport

Overview

SanitizationReport is a class in Aspose.PDF FOSS for Python.

How much of each kind of thing :meth:~aspose_pdf.Document.sanitize removed.

This class declares 2 methods for SanitizationReport objects in Python programs. Available methods include: __bool__, __str__. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: actions, attachments, comments, form_fields, layers, links, and 4 more.

Properties

NameTypeAccessDescription
totalintReadEverything removed, added up.
metadata_entriesintReadGets the metadata entries.
scriptsintReadGets the scripts.
actionsintReadGets the actions.
attachmentsintReadGets the attachments.
layersintReadGets the layers.
pages_flattenedintReadGets the pages flattened.
commentsintReadGets the comments.
linksintReadGets the links.
form_fieldsintReadGets the form fields.

Methods

SignatureDescription
__bool__() → boolCalls bool on this SanitizationReport instance.
__str__() → strCalls str on this SanitizationReport instance.

See Also