Class OcrResult.Table
Represents a Visual Table with Borders discovered during OCR.
To enable table reading, set IronTesseract's Configuration.ReadDataTables to true.
var Ocr = new IronTesseract();
Ocr.Configuration.ReadDataTables = true;
Implements
IronSoftware.IDocumentTextObject
IronSoftware.IDocumentObject
IronSoftware.IBounded
IronSoftware.IColored
IronSoftware.ITransformable
Inherited Members
Namespace: IronOcr
Assembly: IronOcr.dll
Syntax
public class Table : OcrResult.OcrResultTextElement, IDocumentTextObject, IDocumentObject, IBounded, IColored, ITransformable
Properties
DataTable
Contents of the detected Table in a DataTable form.
Declaration
public DataTable DataTable { get; }
Property Value
Type | Description |
---|---|
System.Data.DataTable |
GetLocation
Bounding Box of this OcrResult.Table location on the Page./>
Declaration
public Rectangle GetLocation { get; }
Property Value
Type | Description |
---|---|
IronSoftware.Drawing.Rectangle |
Height
Height in pixels of this table.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Width in pixels of this table.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
X
X coordinate in pixels of the top left side of this table.
Declaration
public int X { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
Y coordinate in pixels of the top left side of this table.
Declaration
public int Y { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Implements
IronSoftware.IDocumentTextObject
IronSoftware.IDocumentObject
IronSoftware.IBounded
IronSoftware.IColored
IronSoftware.ITransformable