你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FormPage 类
- java.
lang. Object - com.
azure. ai. formrecognizer. models. FormPage
- com.
public final class FormPage
表示从输入文档识别的页面。 包含行、字词、表格、选择标记和页面元数据。
构造函数摘要
构造函数 | 说明 |
---|---|
FormPage(float height, float textAngle, LengthUnit unit, float width, List<FormLine> lines, List<FormTable> tables, int pageNumber) |
构造窗体 |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
float |
getHeight()
获取 height 属性:图像/PDF 的高度(以像素/英寸为单位)。 |
List<Form |
getLines()
获取 lines 属性:当 include |
Integer |
getPageNumber()
获取输入文档中从 1 开始的页码。 |
List<Form |
getSelectionMarks()
获取输入文档中的选择标记。 |
List<Form |
getTables()
获取 tables 属性:从页面中提取的数据表列表。 |
float |
getTextAngle()
获取文本角度属性。 |
Length |
getUnit()
获取 unit 属性:宽度、高度和边界 |
float |
getWidth()
获取 width 属性:图像/PDF 的宽度(以像素/英寸为单位)。 |
方法继承自 java.lang.Object
构造函数详细信息
FormPage
public FormPage(float height, float textAngle, LengthUnit unit, float width, List
构造 FormPage 对象。
Parameters:
方法详细信息
getHeight
public float getHeight()
获取 height 属性:图像/PDF 的高度(以像素/英寸为单位)。
Returns:
getLines
public List
获取 lines 属性:当 includeFieldElements 设置为 true 时,可识别文本行的列表。
Returns:
getPageNumber
public Integer getPageNumber()
获取输入文档中从 1 开始的页码。
Returns:
getSelectionMarks
public List
获取输入文档中的选择标记。
Returns:
getTables
public List
获取 tables 属性:从页面中提取的数据表列表。
Returns:
getTextAngle
public float getTextAngle()
获取文本角度属性。
Returns:
getUnit
public LengthUnit getUnit()
获取 unit 属性:宽度、高度和 boundingBox 属性使用的单位。 对于图像,单位为“像素”。 对于 PDF,单位为“英寸”。
Returns:
getWidth
public float getWidth()
获取 width 属性:图像/PDF 的宽度(以像素/英寸为单位)。
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈