Search Results for

    Show / Hide Table of Contents

    Class Tables

    Collection of recognized tables and their informations from OcrInput.

    Inheritance
    System.Object
    Tables
    Implements
    System.Collections.Generic.IEnumerable<TableInfo>
    System.Collections.IEnumerable
    Namespace: IronOcr.Extension.AdvancedScan
    Assembly: IronOcr.dll
    Syntax
    public class Tables : Object

    Tables is the collection you iterate after IronOCR's advanced scan recognizes tables in an OcrInput. Each item it yields is a TableInfo, one recognized table with its bounding rectangle, page, and cells, so a single pass over the result gives you every table found across the document.

    Because the class implements IEnumerable<TableInfo>, you work with it directly in a foreach loop or with LINQ, and GetEnumerator supplies the sequence behind both. There are no indexers or count properties to learn: enumerate it once, read each TableInfo as you go, and project or filter the cells you need. Reach for Tables when a scanned invoice, form, or report holds structured rows you want to pull out programmatically rather than as a flat block of text.

    The read table in a document how-to walks through producing this collection, and the read table example shows iterating it end to end.

    Methods

    GetEnumerator()

    Get enumerator

    Declaration
    public IEnumerator<TableInfo> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<TableInfo>

    TableInfo IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget