Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfScanPreview

Namespace OfficeIMO.Pdf.Ocr
Assembly OfficeIMO.Pdf.Ocr
Modifiers sealed

Source and prepared page appearances for explicit scan review.

Inheritance

  • Object
  • PdfScanPreview

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 CreateImagePdf(CancellationToken cancellationToken = null) #
Returns: PdfDocument

Creates a single-page raster PDF of the reviewed appearance. Interactive content and native text are not copied.

Parameters

cancellationToken System.Threading.CancellationToken = null optionalposition: 0
public Byte[] GetPreparedPng() #
Returns: Byte[]

Independent prepared page PNG.

public Byte[] GetSourcePng() #
Returns: Byte[]

Independent original page PNG.

Properties

public Int32 PageNumber { get; } #

One-based source page.

public Double Width { get; } #

Prepared width in points at the requested sampling density.

public Double Height { get; } #

Prepared height in points at the requested sampling density.

public Int32 PixelWidth { get; } #

Prepared width in pixels.

public Int32 PixelHeight { get; } #

Prepared height in pixels.

public OfficeScanProcessingReport ScanProcessing { get; } #

Geometry and tone decisions from optional affine processing.

public IReadOnlyList<String> Diagnostics { get; } #

Rendering and preparation limits or decisions.