Class FormTable

java.lang.Object
com.azure.ai.formrecognizer.models.FormTable

public final class FormTable extends Object
Represents a table recognized from the input document.
  • Constructor Details

    • FormTable

      public FormTable(int rowCount, int columnCount, List<FormTableCell> cells, int pageNumber)
      Constructs a FormTable object.
      Parameters:
      rowCount - the number of rows in the table.
      columnCount - the number of columns in the table.
      cells - the list of cells contained in the table.
      pageNumber - the 1-based page number in the input document.
  • Method Details

    • getRowCount

      public int getRowCount()
      Get the number of rows in the table.
      Returns:
      the number of rows in the table.
    • getColumnCount

      public int getColumnCount()
      Get the number of columns in the table.
      Returns:
      the number of columns in the table.
    • getCells

      public List<FormTableCell> getCells()
      Get the list of cells contained in the table.
      Returns:
      the unmodifiable list of cells in the table.
    • getPageNumber

      public int getPageNumber()
      Get the 1-based page number in the input document.
      Returns:
      the 1-based page number in the input document.
    • getBoundingBox

      public FieldBoundingBox getBoundingBox()
      Get the bounding box information for the the form table.
      Returns:
      the bounding box information for the the form table.