Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeScanPerspectiveMap

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Reversible projective mapping between original and corrected image pixel-edge coordinates.

Inheritance

  • Object
  • OfficeScanPerspectiveMap

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 OfficePoint MapProcessedToSource(OfficePoint point) #
Returns: OfficePoint

Maps corrected pixel-edge coordinates back to the original image.

Parameters

point OfficeIMO.Drawing.OfficePoint requiredposition: 0
public OfficePoint MapSourceToProcessed(OfficePoint point) #
Returns: OfficePoint

Maps original pixel-edge coordinates into the corrected image. Points on a projective pole are rejected.

Parameters

point OfficeIMO.Drawing.OfficePoint requiredposition: 0

Properties

public Int32 SourceWidth { get; } #

Original image width in pixels.

public Int32 SourceHeight { get; } #

Original image height in pixels.

public Int32 Width { get; } #

Corrected image width in pixels.

public Int32 Height { get; } #

Corrected image height in pixels.