Document.RepairOptions
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Document.RepairOptions
public static class Document.RepairOptions extends Object
Represents options for repairing a PDF document. This class provides a way to customize the repair process of a PDF document.
Constructors
| Constructor | Description |
|---|---|
| RepairOptions |
Methods
| Method | Description |
|---|---|
| isRestoreIndirectObjectGenerations | Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process. |
| setRestoreIndirectObjectGenerations | Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process. |
RepairOptions
public RepairOptions()
isRestoreIndirectObjectGenerations
public boolean isRestoreIndirectObjectGenerations()
Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.
Returns: boolean value
setRestoreIndirectObjectGenerations
public void setRestoreIndirectObjectGenerations(boolean restoreIndirectObjectGenerations)
Gets or sets a value indicating whether to restore wrong generation numbers in references to indirect objects during the repair process.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| restoreIndirectObjectGenerations | boolean value |