Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfPageOrientationReview

Namespace OfficeIMO.Pdf.Ocr
Assembly OfficeIMO.Pdf.Ocr
Source revision 51b096f032dd with working tree changes
Modifiers sealed

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: PdfOperationResult<PdfDocument>

Returns an updated document with explicitly accepted proposals applied as one atomic page-attribute batch.

Parameters

document OfficeIMO.Pdf.PdfDocument requiredposition: 0
accepted System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.Ocr.PdfPageOrientationProposal> requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2
public async Task<PdfScanPreview> PreviewAsync(PdfPageOrientationProposal proposal, CancellationToken cancellationToken = default) #
Returns: Task<PdfScanPreview>

Renders the original and proposed appearances without modifying page content.

Parameters

proposal OfficeIMO.Pdf.Ocr.PdfPageOrientationProposal requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1

Properties

public IReadOnlyList<PdfPageOrientationProposal> Pages { get; } #

Detection evidence in selected page order. Confidence does not imply selection.