Delen via


FormTable Class

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

public final class FormTable

Represents a table recognized from the input document.

Constructor Summary

Constructor Description
FormTable(int rowCount, int columnCount, List<FormTableCell> cells, int pageNumber)

Constructs a FormTable object.

Method Summary

Modifier and Type Method and Description
FieldBoundingBox getBoundingBox()

Get the bounding box information for the the form table.

List<FormTableCell> getCells()

Get the list of cells contained in the table.

int getColumnCount()

Get the number of columns in the table.

int getPageNumber()

Get the 1-based page number in the input document.

int getRowCount()

Get the number of rows in the table.

Methods inherited from java.lang.Object

Constructor Details

FormTable

public FormTable(int rowCount, int columnCount, List 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

getBoundingBox

public FieldBoundingBox getBoundingBox()

Get the bounding box information for the the form table.

Returns:

the bounding box information for the the form table.

getCells

public List getCells()

Get the list of cells contained in the table.

Returns:

the unmodifiable list of cells in the table.

getColumnCount

public int getColumnCount()

Get the number of columns in the table.

Returns:

the number of columns 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.

getRowCount

public int getRowCount()

Get the number of rows in the table.

Returns:

the number of rows in the table.

Applies to