---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/RepairOptions
---

# RepairOptions

## Overview

`RepairOptions` is a class in Aspose.PDF FOSS for .NET.

Options describing what repair is needed.

Properties: `HasValidationIssues`, `HasXRefIssues`, `IssueCount`, `RestoreIndirectObjectGenerations`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `HasValidationIssues` | `bool` | Read | Whether the document has validation issues. |
| `IssueCount` | `int` | Read | Number of validation issues found. |
| `HasXRefIssues` | `bool` | Read | Whether the xref table has integrity issues. |
| `RestoreIndirectObjectGenerations` | `bool` | Read/Write | Whether the repair pass should restore object-generation numbers from the original xref. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)