Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeScanProcessor

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
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) #
Returns: OfficeScanPerspectiveResult

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

Parameters

source OfficeIMO.Drawing.OfficeRasterImage requiredposition: 0
options OfficeIMO.Drawing.OfficeScanPerspectiveOptions requiredposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2
public static OfficeScanProcessingResult Process(OfficeRasterImage source, OfficeScanProcessingOptions options = null, CancellationToken cancellationToken = default) #
Returns: OfficeScanProcessingResult

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

Parameters

source OfficeIMO.Drawing.OfficeRasterImage requiredposition: 0
options OfficeIMO.Drawing.OfficeScanProcessingOptions = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2

Exceptions