Click or drag to resize

OcrResultOcrParagraph Class

An object representing each paragraph of text read by IronOcr
Inheritance Hierarchy
SystemObject
  IronOcrOcrResultOcrParagraph

Namespace:  IronOcr
Assembly:  IronOcr (in IronOcr.dll) Version: 4.2.2.25207 (4.2.2.0)
Syntax
public class OcrParagraph

The OcrResultOcrParagraph type exposes the following members.

Constructors
  NameDescription
Public methodOcrResultOcrParagraph
Initializes a new instance of the OcrResultOcrParagraph class
Top
Properties
  NameDescription
Public propertyFontName
The name of the most common font / typeface in this the paragraph. If the font is unknown, a close visual match will be chosen.
Public propertyFontSize
The most common font size for words within the paragraph. Measured in Pixels.
Public propertyHeight
Height of the paragraph in pixels.
Public propertyImage
An image of this word
Public propertyOcrObjectId
A unique name for this paragraph of text within the OcrResults model.
Public propertyPageNumber
The OcrResult page number this paragraph was found on
Public propertyText
Full text discovered within this paragraph as a UFT-8 string. Each line of text - as read - will be separated by one Environment.NewLine
Public propertyWidth
Width of the paragraph in pixels.
Public propertyWordCount
Number of words in this paragraph
Public propertyWords
Objects describing each word in this paragraph.
Public propertyX
Horizontal location of the paragraph relative to the left edge of the page. Measured in pixels.
Public propertyY
Vertical location of the paragraph relative to the top edge of the page. Measured in pixels.
Top
Methods
Fields
  NameDescription
Public fieldConfidence
The percentage statistical confidence IronOcr has in analysis of this paragraph of text. Values range from 0-100. For higher contrast (lower Confidence scores for words which may have been read incorrectly, try setting Strategy = Advanced and looking at the confidence of each individual Word.
Public fieldLines
Objects describing each line of text in this paragraph.
Public fieldLocation
The location and size of this paragraph as discovered in Image
Public fieldParagraphNumber
The position of this word within its page
Public fieldTextDirection
The direction in which text should be read within this paragraph.
Public fieldTextOrientation
The clockwise rotation of this text relative to the top of the page. Measured in degrees. A value of 0 means the text is perfectly vertical.
Top
See Also