你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FormElement Class

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

public abstract class FormElement

Represents a form element recognized from the input document. Its text can be a line, a word, the content of a table cell, a selection mark, etc.

Method Summary

Modifier and Type Method and Description
FieldBoundingBox getBoundingBox()

BoundingBox property of the element.

int getPageNumber()

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

String getText()

The text content of the form element.

Methods inherited from java.lang.Object

Method Details

getBoundingBox

public FieldBoundingBox getBoundingBox()

BoundingBox property of the element.

Returns:

the bounding box of the element.

getPageNumber

public int getPageNumber()

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

Returns:

the page number value.

getText

public String getText()

The text content of the form element.

Returns:

The text content of the form element.

Applies to