THPDFDiagnosticRepairOptions Record
控制 RepairDiagnosticDocument 的資源上限與輸出驗證
宣告
THPDFDiagnosticRepairOptions = record
MaxInputBytes: Int64;
MaxObjectCount: Integer;
MaxObjectNumber: Integer;
VerifyOutput: Boolean;
Password: AnsiString;
class function Default: THPDFDiagnosticRepairOptions; static;
end;
預設值
| 欄位 | 預設值 | 效果 |
|---|---|---|
MaxInputBytes | 8 GiB | 掃描前就拒收超過上限的來源檔 |
MaxObjectCount | 2,000,000 | 限制已驗證間接物件中繼資料的數量 |
MaxObjectNumber | 2,000,000 | 限制 xref 列的產生數量,並防堵稀疏物件編號濫用 |
VerifyOutput | True | 發布前以停用 xref 復原的方式重新載入暫存結果 |
Password | 空字串 | 提供加密診斷文件在嚴格重新載入驗證時使用的密碼 |