Table of Contents

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

authorizedHostPath string

The authorized host path of the PDF file.

cancellationToken CancellationToken

The token checked before opening and between pages.

Returns

PdfTextExtractionResult

The ordered extracted pages and their extraction status.