Class RotationMethod
Inheritance
System.Object
RotationMethod
Assembly: IronOcr.dll
Syntax
public sealed class RotationMethod : Enum
Picking the algorithm that rotates a skewed scan straight runs through RotationMethod, trading speed against edge quality. AreaMap resamples with area mapping for the smoothest result on text and fine detail, Sampling uses nearest-neighbor sampling for a faster rotation when throughput matters more than crisp edges, and Shear applies a three-pass shear rotation, the quickest option and a good fit for small correction angles. The orientation correction how-to covers straightening a tilted page before reading.
Fields
AreaMap
Declaration
public const RotationMethod AreaMap
Field Value
Sampling
Declaration
public const RotationMethod Sampling
Field Value
Shear
Declaration
public const RotationMethod Shear
Field Value
value__
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|