try_repair property

try_repair property

The property enables GroupDocs.Viewer to attempt repairing structural corruption in PDF documents. Default is False.

This feature addresses the following issues in a PDF document:

  • Broken references within the document (incorrect object offsets in the Cross-reference list).
  • Missing critical elements like root object, page object, or page content.
  • Circular references (Form X-object referencing itself).

Definition:

@property
def try_repair(self):
    ...
@try_repair.setter
def try_repair(self, value):
    ...

See Also