Class OcrPdfUpdateResult

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

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

public sealed record OcrPdfUpdateResult : IEquatable<OcrPdfUpdateResult>
Inheritance
OcrPdfUpdateResult
Implements
Inherited Members

Constructors

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

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

Properties

Pages

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

Text

The plain text recognised on every page, pages separated by a form feed (empty for unchanged pages).

Warnings

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