THotPDF.RepairLoadedObjectGraphFromPreflightFindings Method

Enterprise 版:此 API 属于 HotPDF Enterprise(HotPDFEnt / Lib\Enterprise);较低版本不包含它,调用时会抛出 EHPDFEnterpriseRequired。

声明

function RepairLoadedObjectGraphFromPreflightFindings(
  const Findings: THPDFObjectGraphRepairKinds;
  const Options: THPDFObjectGraphRepairOptions;
  out Report: THPDFObjectGraphRepairReport): boolean;

行为

在 Options 给定的限制下修复 Findings 中选定的对象图区域,把修复结果写入 Report,并在修复后的对象图通过校验时返回 True