THPDFDocComparison.CompareWithLimits
Runs the selected comparison mode under explicit traversal, hashing, and output limits while rendered modes use THPDFRenderedCompareOptions.Default
Declaration
class function CompareWithLimits(DocA, DocB: THotPDF;
Mode: THPDFComparisonMode;
const Limits: THPDFStructuralCompareLimits): AnsiString;
Parameters
DocAandDocBare loaded documentsModeselects page count, text, structural, rendered, or combined comparisonLimitsbounds traversal and retained difference entries
Completeness
Budget exhaustion is part of the result rather than an implicit match; inspect comparisonComplete before accepting identical
See also
THPDFStructuralCompareLimits · CompareWithOptions · Document Comparison