Class OcrResult.OcrResultTextElement
An abstract class representing discovered OCR DOM text elements such as OcrResult.Character, OcrResult.Word, OcrResult.Line, OcrResult.Paragraph ...
Inheritance
System.Object
OcrResult.OcrResultTextElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public abstract class OcrResultTextElement : OcrResult.OcrResultElement
Constructors
OcrResultTextElement()
Declaration
protected OcrResultTextElement()
Properties
Confidence
OCR statistical accuracy confidence as an average of every character within this object.
1 = 100%, 0 = 0%
Declaration
public virtual double Confidence { get; }
Property Value
Type | Description |
---|---|
System.Double |
Text
The full text of this OcrResultElement as a string.
Declaration
public string Text { get; }
Property Value
Type | Description |
---|---|
System.String |
TextDirection
The direction text was read in: such as 'Left to Right' or 'Top to Bottom'.
Declaration
public OcrResult.TextFlow TextDirection { get; }
Property Value
Type | Description |
---|---|
OcrResult.TextFlow |
Methods
ToString()
Full OCR text discovered within this object.
A synonym of Text
.Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()