**注意:**如果文档导出为 XML 但未导出为任何图像格式,则坐标是相对于原始图像指定的。如果文档同时导出为 XML 和某种图像格式,则坐标是相对于被导出的预处理图像指定的。该标签可以具有以下属性:
| Property | Data type | Description |
|---|---|---|
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 | 矩形下边界的坐标。 |
