THotPDF.ValidatePDFWithPolicy Method

企业版:此功能随 HotPDF Enterprise 提供。在 uses 子句中加入 HPDFEnterprise(C++Builder:#pragma link "HPDFEnterprise");其他版本保留声明,调用时抛出 EHPDFEnterpriseRequired

针对独立的源 PDF 运行结构预检和选定的策略要求

IsValid := PDF.ValidatePDFWithPolicy(SourceFile, Password, Policy, Report);

转换为 JSON 或 HTML 时报告包含稳定的策略检查名称和结构化位置,组件操作取消令牌适用于加载和验证