Class OcrResult.OcrResultTextElement
Inheritance
System.Object
OcrResult.OcrResultTextElement
Implements
IronSoftware.Abstractions.Pdf.IDocumentTextObject
IronSoftware.Abstractions.Pdf.IBoundedPdfDocumentObject
IronSoftware.Abstractions.Pdf.IPdfDocumentObject
IronSoftware.Abstractions.IDocumentObject
IronSoftware.Abstractions.IBounded
IronSoftware.ITransformable
IronSoftware.Abstractions.IColored
System.ICloneable
Assembly: IronOcr.dll
Syntax
public abstract class OcrResultTextElement : OcrResult.OcrResultElement, IDocumentTextObject, IBoundedPdfDocumentObject, IPdfDocumentObject, IDocumentObject, IBounded, ITransformable, IColored, ICloneable
Constructors
OcrResultTextElement()
Declaration
protected OcrResultTextElement()
Properties
Bottom
Declaration
public double Bottom { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
BoundingBox
Declaration
public RectangleF BoundingBox { get; set; }
Property Value
| Type |
Description |
| System.Drawing.RectangleF |
|
Color
Declaration
public Color Color { get; set; }
Property Value
| Type |
Description |
| System.Drawing.Color |
|
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 |
|
Contents
Declaration
public string Contents { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Left
Declaration
public double Left { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Matrix
Declaration
public MatrixStruct Matrix { get; }
Property Value
| Type |
Description |
| IronSoftware.MatrixStruct |
|
ObjNum
Declaration
public uint ObjNum { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
PageIndex
Declaration
public uint PageIndex { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
PdfDocumentId
Declaration
public IDocumentId PdfDocumentId { get; set; }
Property Value
| Type |
Description |
| IronSoftware.Abstractions.Pdf.IDocumentId |
|
Right
Declaration
public double Right { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Scale
Declaration
public PointF Scale { get; set; }
Property Value
| Type |
Description |
| System.Drawing.PointF |
|
Text
The full text of this OcrResultElement as a string. This is truncated when the product is unlicensed.
Declaration
public string Text { get; set; }
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
Top
Declaration
public double Top { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Translate
Declaration
public PointF Translate { get; set; }
Property Value
| Type |
Description |
| System.Drawing.PointF |
|
Methods
Clone()
Declaration
Returns
| Type |
Description |
| System.Object |
|
ToString()
Full OCR text discovered within this object.
A synonym of Text
.
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Implements
IronSoftware.Abstractions.Pdf.IDocumentTextObject
IronSoftware.Abstractions.Pdf.IBoundedPdfDocumentObject
IronSoftware.Abstractions.Pdf.IPdfDocumentObject
IronSoftware.Abstractions.IDocumentObject
IronSoftware.Abstractions.IBounded
IronSoftware.ITransformable
IronSoftware.Abstractions.IColored
System.ICloneable