THPDFDiagnosticRepairOptions Record
控制 RepairDiagnosticDocument 的资源上限和输出验证
声明
THPDFDiagnosticRepairOptions = record
MaxInputBytes: Int64;
MaxObjectCount: Integer;
MaxObjectNumber: Integer;
VerifyOutput: Boolean;
Password: AnsiString;
class function Default: THPDFDiagnosticRepairOptions; static;
end;
Defaults
| 字段 | 默认 | 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 | 在发布之前禁用 xref 恢复,重新加载临时结果 |
Password | Empty | 提供严格重载验证在处理加密诊断文档时使用的密码 |