NextTextSearchHit
Text and extraction
Description
Returns the next hit from the active stateful search
Returns 1 for a hit or 0 after the last hit or when the selected document changed
Syntax
Delphi
Function NextTextSearchHit(Out Hit: TPDFlibSearchHit): Integer;Parameters
| Hit | Output record that receives the next hit: page number, rectangle and matched text. Zeroed when the function returns 0 |
|---|
Return values
| 1 | A hit was copied into Hit and the internal cursor advanced to the next hit |
|---|---|
| 0 | All hits have been consumed or the selected document changed since the search was started |