注意: 如果将文档仅导出为 XML,而未导出为任何图像格式,则坐标相对于原始图像指定;如果将文档同时导出为 XML 和某种图像格式,则坐标相对于导出的预处理图像指定。该标签可包含以下属性:
| 属性 | 数据类型 | 说明 |
|---|---|---|
width * | integer | 图像的宽度(像素)。 |
height * | integer | 图像的高度(像素)。 |
resolution * | integer | 图像分辨率(像素/英寸)。 |
originalCoords | boolean | 若为 true,坐标相对于原始图像;若为 false,坐标相对于预处理图像。 |
rotation | string | 应用于原始页图像的旋转类型。可能的取值:Normal、RotatedClockwise、RotatedUpsidedown、RotatedCounterclockwise。默认值为 Normal。 |
块元素
| Property | Data type | Description |
|---|---|---|
blockType * | string | 指示块类型:Text、Table、Picture、Barcode、Separator、SeparatorsBox。该属性的取值决定标签包含哪些元素:text(仅当 blockType 属性为 Text 时可用)、row(仅当 blockType 属性为 Table 时可用)、separatorsBox(仅当 blockType 属性为 SeparatorsBox 时可用)、separator(仅当 blockType 属性为 Separator 时可用) |
区域元素
Rect 元素
| Property | Data type | Description |
|---|---|---|
l * | integer | 矩形左边界的坐标。 |
t * | integer | 矩形上边界的坐标。 |
r * | integer | 矩形右边界的坐标。 |
b * | integer | 矩形下边界的坐标。 |
