TryRepair

LoadOptions.TryRepair property

When enabled GroupDocs.Viewer tries to repair structural corruption in PDF documents. Default value is false.

public bool TryRepair { get; set; }

Remarks

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).

See Also