Constructor OcrPdfUpdateResult

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

OcrPdfUpdateResult(IReadOnlyList<OcrPage?>, IReadOnlyList<string>)

The outcome of adding a text layer to an existing PDF.

public OcrPdfUpdateResult(IReadOnlyList<OcrPage?> Pages, IReadOnlyList<string> Warnings)

Parameters

Pages IReadOnlyList<OcrPage>

The recognised text of each page, in page order; null for pages that were left unchanged.

Warnings IReadOnlyList<string>

Why pages were left unchanged: they already had text, had no image, or used an image encoding that cannot be decoded.