Close
dtSearch Text Retrieval Engine Programmer's Reference
DCalcPdfHitRectsJob Class

Calculate hit locations in a PDF file to highlight after a search.

File: dtsfc.h 

Namespace: dtSearch 

Syntax
C++
class DCalcPdfHitRectsJob : public DJobBase;
Show:
No members matching the current filter
Show:
No members matching the current filter

dtSearch returns hit locations as word offsets after a search. Use DCalcPdfHitRectsJob to convert these word offsets to PDF page coordinates. The PDF page coordinates are returned as an array of integers. This data can then be used with DFileConvertJob to add hit highlight annotations to a PDF file for display.

dtSearch::DJobBase | dtSearch::DCalcPdfHitRectsJob