Method SearchPdfText
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
SearchPdfText(string, string, int, int)
Searches extractable PDF text and returns bounded, page-numbered snippets with pagination.
public string SearchPdfText(string path, string query, int offset = 1, int limit = 20)Parameters
pathstring-
The relative, agent-facing, or host PDF path the active workspace allows reading.
querystring-
The literal text to find, matched without case sensitivity.
offsetint-
The one-based matching-page index where the result page starts.
limitint-
The maximum number of matching pages to return.
Returns
- string
-
PDF page metadata and a bounded page of matching snippets.