Click or drag to resize

OcrResultOcrLine Class

An object representing each line of text discovered in an OCRResult
Inheritance Hierarchy
SystemObject
  IronOcrOcrResultOcrLine

Namespace:  IronOcr
Assembly:  IronOcr (in IronOcr.dll) Version: 4.2.1.21297 (4.2.1.5)
Syntax
public class OcrLine

The OcrResultOcrLine type exposes the following members.

Constructors
  NameDescription
Public methodOcrResultOcrLine
Initializes a new instance of the OcrResultOcrLine class
Top
Properties
  NameDescription
Public propertyHeight
Height of the line of text, in pixels.
Public propertyImage
An image of this entire line of text
Public propertyOcrObjectId
A unique name for this line of text within an OcrResult.
Public propertyPageNumber
The OcrResult page number this line of text was found on
Public propertyText
The full text of this line of words as a UTF-8 string. EAch word is separated by a single 'space' character.
Public propertyWidth
Width of the line of text, in pixels.
Public propertyWordCount
The number of words discovered within this line of text
Public propertyX
Horizontal location of this line of text relative to the left edge of the page. Measured in pixels.
Public propertyY
Vertical location of this line of text relative to the top edge of the page. Measured in pixels.
Top
Methods
Fields
  NameDescription
Public fieldBaselineAngle
The angle of skew (rotation) of the text, measured in counter-clockwise degrees.
Public fieldBaselineOffset
The displacement (signed distance) of the baseline of this text-line relative to its top edge (see Y). For example the bottom baseline would sit at the bottom of a letter 'o', "a" or any number. The letters 'y' and 'g' have tails which drop below the baseline.
Public fieldConfidence
The mean (average) percentage statistical confidence IronOcr has in its analysis of this line of text. Values range from 0-100.
Public fieldLineNumber
The number of this line within its enclosing paragraph. One based.
Public fieldLocation
The location and size of this line of text as discovered in Image
Public fieldParagraphNumber
The paragraph in which this line was found
Public fieldWords
Objects for word discovered within this line of text
Top
See Also