THPDFDiagnosticRepairOptions Record

控制 RepairDiagnosticDocument 的资源上限和输出验证

声明

THPDFDiagnosticRepairOptions = record
  MaxInputBytes: Int64;
  MaxObjectCount: Integer;
  MaxObjectNumber: Integer;
  VerifyOutput: Boolean;
  Password: AnsiString;
  class function Default: THPDFDiagnosticRepairOptions; static;
end;

Defaults

字段默认Effect
MaxInputBytes8 GiBRejects larger source files before scanning
MaxObjectCount2,000,000Caps validated indirect-object metadata
MaxObjectNumber2,000,000Caps xref row generation and sparse object-number abuse
VerifyOutputTrue在发布之前禁用 xref 恢复,重新加载临时结果
PasswordEmpty提供严格重载验证在处理加密诊断文档时使用的密码

另请参阅: 可编辑诊断文档与修复, THPDFDiagnosticRepairReport