THPDFDiagnosticRepairOptions Record
Controls resource ceilings and output verification for RepairDiagnosticDocument
Declaration
THPDFDiagnosticRepairOptions = record
MaxInputBytes: Int64;
MaxObjectCount: Integer;
MaxObjectNumber: Integer;
VerifyOutput: Boolean;
Password: AnsiString;
class function Default: THPDFDiagnosticRepairOptions; static;
end;
Defaults
| Field | Default | Effect |
|---|---|---|
MaxInputBytes | 8 GiB | Rejects larger source files before scanning |
MaxObjectCount | 2,000,000 | Caps validated indirect-object metadata |
MaxObjectNumber | 2,000,000 | Caps xref row generation and sparse object-number abuse |
VerifyOutput | True | Reloads the temporary result with xref recovery disabled before publication |
Password | Empty | Supplies the password used by strict reload validation for encrypted diagnostics |
See also: Editable Diagnostic Documents and Repair, THPDFDiagnosticRepairReport