注意: 如果文件匯出為 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 時可用) |
Region 元素
Rect 元素
| Property | Data type | Description |
|---|---|---|
l * | integer | 矩形左邊界的座標。 |
t * | integer | 矩形上邊界的座標。 |
r * | integer | 矩形右邊界的座標。 |
b * | integer | 矩形下邊界的座標。 |
