API Reference
Class
PdfFormOcrReview
Immutable recognition proposals bound to exact source bytes, requiring explicitly reviewed values.
Inheritance
- Object
- PdfFormOcrReview
Remarks
Applying produces an in-memory document. Publication and host revision checks remain the caller's responsibility.
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Methods
public PdfDocument Apply(PdfDocument currentDocument, IReadOnlyDictionary<PdfFormOcrProposal, PdfFormFieldValue> acceptedValues, CancellationToken cancellationToken = default) #Returns:
PdfDocumentCreates one atomic form-fill result from explicitly accepted and optionally corrected proposals.
Parameters
- currentDocument OfficeIMO.Pdf.PdfDocument
- acceptedValues System.Collections.Generic.IReadOnlyDictionary{OfficeIMO.Pdf.Ocr.PdfFormOcrProposal,OfficeIMO.Pdf.PdfFormFieldValue}
- cancellationToken System.Threading.CancellationToken = default
public PdfFormFieldValueAssessment Assess(PdfFormOcrProposal proposal, PdfFormFieldValue value) #Returns:
PdfFormFieldValueAssessmentValidates a reviewed correction using the canonical field metadata assessment.
Parameters
- proposal OfficeIMO.Pdf.Ocr.PdfFormOcrProposal
- value OfficeIMO.Pdf.PdfFormFieldValue
public ValueTuple<Double, Double> GetPageSize(Int32 pageNumber) #Returns:
ValueTuple<Double, Double>Returns the captured visual page dimensions used by widget and word evidence.
Parameters
- pageNumber System.Int32
public PdfPageRenderResult RenderPage(Int32 pageNumber, CancellationToken cancellationToken = default) #Returns:
PdfPageRenderResultRenders a captured source page for reviewing the value and its original geometry.
Parameters
- pageNumber System.Int32
- cancellationToken System.Threading.CancellationToken = default