PdfFormOcrReview
OfficeIMO.Pdf.Ocr
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
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
Methods
public PdfDocument Apply(PdfDocument currentDocument, IReadOnlyDictionary<PdfFormOcrProposal, PdfFormFieldValue> acceptedValues, CancellationToken cancellationToken = default) #Creates 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
Returns
PdfDocumentpublic PdfFormFieldValueAssessment Assess(PdfFormOcrProposal proposal, PdfFormFieldValue value) #Validates a reviewed correction using the canonical field metadata assessment.
Parameters
- proposal OfficeIMO.Pdf.Ocr.PdfFormOcrProposal
- value OfficeIMO.Pdf.PdfFormFieldValue
Returns
PdfFormFieldValueAssessmentpublic ValueTuple<double, double> GetPageSize(int pageNumber) #Returns the captured visual page dimensions used by widget and word evidence.
Parameters
- pageNumber int
Returns
ValueTuple<double, double>public PdfPageRenderResult RenderPage(int pageNumber, CancellationToken cancellationToken = default) #Renders a captured source page for reviewing the value and its original geometry.
Parameters
- pageNumber int
- cancellationToken System.Threading.CancellationToken = default
Returns
PdfPageRenderResult