Search Results for

    Show / Hide Table of Contents

    Class TableInfo

    Informations of recognized table from OcrInput

    Inheritance
    System.Object
    TableInfo
    Namespace: IronOcr.Extension.AdvancedScan
    Assembly: IronOcr.dll
    Syntax
    public class TableInfo : Object

    One recognized table from an IronOCR advanced scan, with its position and contents, lives on TableInfo. You receive a TableInfo for each table the scan finds in an OcrInput, and it holds everything needed to reconstruct that table in your own model.

    BoudingRect (the property name is spelled this way in the API) gives the table's bounding rectangle on the page, Page reports the page number it was found on, and CellInfos is a List<CellInfo> carrying each cell's border rectangle and text. To rebuild a table, read its cells from CellInfos, using each cell's rectangle to infer rows and columns. Use TableInfo when you need cell-level structure from a scanned document, not just the recognized text. Tables of these objects are returned through the Tables collection.

    The read table in a document how-to covers obtaining these results, and the advanced reading how-to shows the advanced scan in context.

    Properties

    BoudingRect

    Bouding rectangle of the current table.

    Declaration
    public Rectangle BoudingRect { get; set; }
    Property Value
    Type Description
    IronSoftware.Drawing.Rectangle

    CellInfos

    Information of cells with borders and text inside.

    Declaration
    public List<CellInfo> CellInfos { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<CellInfo>

    Page

    Page number of the current table

    Declaration
    public int Page { get; set; }
    Property Value
    Type Description
    System.Int32
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget