2021.1

Table Of Contents
l Horizontal moveto is not considered as a space.
l /CropBox size is not taken into account (an object whose left is at 144 is considered to be
2 inches from the edge even if the /CropBox starts at 72).
l Only horizontal text is supported; vertical or rotated text is undefined.
l Rotated pages are unsupported.
l /UserUnit is not supported.
ExtractText2(left, top, right, bottom)
Returns the text located inside the region bounded by the left, top, right and bottom parameters.
If multiple lines are found, they are separated by a CR-LF pair.
Syntax
VOID ExtractText2 (
FLOAT left,
FLOAT top,
FLOAT right,
FLOAT bottom
)
left
Distance in inches of the left limit of the region from the left edge of the /CropBox. Must be
between 0 and 5000.
top
Distance in inches of the top limit of the region from the top edge of the /CropBox. Must be
between 0 and 5000.
right
Distance in inches of the right limit of the region from the left edge of the /CropBox. Must be
between 0 and 5000.
bottom
Distance in inches of the bottom limit of the region from the top edge of the /CropBox. Must be
between 0 and 5000.
Return value
A string containing the text extracted from the specified region.
Page 267