Skip to main content
Recognized page. It is a sequence of block tags.
Note: If the document is exported to XML but not to any of the image formats, the coordinates will be specified relative to the original image. If the document is exported to XML and at the same time to one of the image formats, the coordinates will be specified relative to the preprocessed image that is exported.
The tag can have the following attributes:
PropertyData typeDescription
width *integerThe image width in pixels.
height *integerThe image height in pixels.
resolution *integerThe image resolution in pixels per inch.
originalCoordsbooleanIf the value is true, the coordinates are specified relative to the original image. If the value is false, the coordinates are specified relative to the preprocessed image.
rotationstringThe type of rotation applied to the original page image. Possible values: Normal, RotatedClockwise, RotatedUpsidedown, RotatedCounterclockwise. The default value is Normal.

Block Element

A recognized block. Each such tag includes the region element, which specifies the region of the block on an image. The following element includes the region element. Has the following attribute:
PropertyData typeDescription
blockType *stringDenotes the block type: Text, Table, Picture, Barcode, Separator, SeparatorsBox. The value of this attribute defines which elements the tag includes: text (available only if the blockType attribute is Text), row (available only if the blockType attribute is Table), separatorsBox (available only if the blockType attribute is SeparatorsBox), separator (available only if the blockType attribute is Separator)

Region Element

A block region consisting of a set of rectangles. Includes one or several rect elements.

Rect Element

A rectangle of a block region. The tag has the following attributes:
PropertyData typeDescription
l *integerThe coordinate of the left border of the rectangle.
t *integerThe coordinate of the top border of the rectangle.
r *integerThe coordinate of the right border of the rectangle.
b *integerThe coordinate of the bottom border of the rectangle.
* Indicates a required property.