Method ExtractPdfText
- Namespace
- Oscova.Agents.Toolsets
- Assembly
- Oscova.Agents.dll
ExtractPdfText(string, string?)
Extracts text from a PDF file, optionally limited to an inclusive page range.
public string ExtractPdfText(string path, string? pageRange = null)Parameters
pathstring-
The relative, agent-facing, or host PDF path the active workspace allows reading.
pageRangestring?-
An optional single page or range such as
5or2-7.
Returns
- string
-
Extracted page text, a scanned/encrypted PDF message, or a truncation notice.