Class ScanDirectionType
Inheritance
System.Object
ScanDirectionType
Assembly: IronOcr.dll
Syntax
public sealed class ScanDirectionType : Enum
ScanDirectionType controls which way a low-level Leptonica scan traverses pixels while analyzing an image during preprocessing. The axis values, ScanHorizontal and ScanVertical, set the direction a run is read, with ScanBoth covering both axes. The edge values, FromLeft, FromRight, FromTop, and FromBottom, fix where a traversal starts, while ScanPositive and ScanNegative set the sweep sign. Most projects never set this directly, since IronOCR's higher-level reading and filter steps select a sensible direction on their own.
Fields
FromBottom
Declaration
public const ScanDirectionType FromBottom
Field Value
FromLeft
Declaration
public const ScanDirectionType FromLeft
Field Value
FromRight
Declaration
public const ScanDirectionType FromRight
Field Value
FromTop
Declaration
public const ScanDirectionType FromTop
Field Value
ScanBoth
Declaration
public const ScanDirectionType ScanBoth
Field Value
ScanHorizontal
Declaration
public const ScanDirectionType ScanHorizontal
Field Value
ScanNegative
Declaration
public const ScanDirectionType ScanNegative
Field Value
ScanPositive
Declaration
public const ScanDirectionType ScanPositive
Field Value
ScanVertical
Declaration
public const ScanDirectionType ScanVertical
Field Value
value__
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|