Method ExtractPages
- Namespace
- Oscova.Agents.Pdf
- Assembly
- Oscova.Agents.dll
ExtractPages(string, CancellationToken)
Extracts every page from an authorized PDF path.
public PdfTextExtractionResult ExtractPages(string authorizedHostPath, CancellationToken cancellationToken = default)Parameters
authorizedHostPathstring-
The authorized host path of the PDF file.
cancellationTokenCancellationToken-
The token checked before opening and between pages.
Returns
- PdfTextExtractionResult
-
The ordered extracted pages and their extraction status.