Class
PdfPageOrientationReview
OfficeIMO.Pdf.Ocr
A private PDF snapshot and orientation proposals that require explicit selection before mutation.
Inheritance
- object
- PdfPageOrientationReview
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 PdfOperationResult<PdfDocument> ApplyResult(PdfDocument document, IEnumerable<PdfPageOrientationProposal> accepted, CancellationToken cancellationToken = default) #Returns an updated document with explicitly accepted proposals applied as one atomic page-attribute batch.
Parameters
- document OfficeIMO.Pdf.PdfDocument
- accepted System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.Ocr.PdfPageOrientationProposal>
- cancellationToken System.Threading.CancellationToken = default
Returns
PdfOperationResult<PdfDocument>public async Task<PdfScanPreview> PreviewAsync(PdfPageOrientationProposal proposal, CancellationToken cancellationToken = default) #Renders the original and proposed appearances without modifying page content.
Parameters
- proposal OfficeIMO.Pdf.Ocr.PdfPageOrientationProposal
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<PdfScanPreview>Inherited Methods
Properties
public IReadOnlyList<PdfPageOrientationProposal> Pages { get; } #Detection evidence in selected page order. Confidence does not imply selection.