ComparePageTextsWith

Page manipulation

Description

Porovná dva dokumenty stránku po stránke podľa extrahovaného textu

Syntax

Delphi

Function ComparePageTextsWith(Other: TPDFlib; Out FirstDifferentPage, ThisPageCount, OtherPageCount: Integer): Integer;

Parameters

OtherThe second document, loaded in its own TPDFlib instance
FirstDifferentPageFirst page whose text differs, or 0 when all shared pages match
ThisPageCount, OtherPageCountThe page counts of both documents

Return value

Počet stránok, ktorých extrahovaný text sa líši; rozdielne počty stránok sa prejavia cez count parametre

Remarks

Porovnanie používa surovú extrakciu (option 8), takže na výsledok vplýva rozloženie bieleho miesta

See also

GetPageText, ComparePreflightReports