Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeScanProcessor

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Dependency-free, bounded preparation of document scans with reversible coordinate mapping.

Inheritance

  • object
  • OfficeScanProcessor

Methods

public static OfficeScanPerspectiveResult CorrectPerspective(OfficeRasterImage source, OfficeScanPerspectiveOptions options, CancellationToken cancellationToken = default) #

Rectifies an explicitly selected convex page quadrilateral before optional affine and tonal cleanup.

Parameters

source OfficeIMO.Drawing.OfficeRasterImage required
options OfficeIMO.Drawing.OfficeScanPerspectiveOptions required
cancellationToken System.Threading.CancellationToken = default optional
public static OfficeScanProcessingResult Process(OfficeRasterImage source, OfficeScanProcessingOptions? options = null, CancellationToken cancellationToken = default) #

Processes a separately owned image while preserving the source and reporting every requested transformation.

Parameters

source OfficeIMO.Drawing.OfficeRasterImage required
options OfficeIMO.Drawing.OfficeScanProcessingOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Exceptions