Close
dtSearch .NET Standard API 2026.01
CalcPdfHitRectsJob Class

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

dtSearch.Engine.JobBase | dtSearch.Engine.CalcPdfHitRectsJob
public class CalcPdfHitRectsJob : JobBase;

dtSearch returns hit locations as word offsets after a search. Use CalcPdfHitRectsJob 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 FileConverter to add hit highlight annotations to a PDF file for display.

Show:
No members matching the current filter
Show:
No members matching the current filter