2019.2

Table Of Contents
Limitations
l No Unicode support.
l A word is extracted only if it fits entirely in the region.
l Empty lines are not supported.
l A maximum of 4096 chars is returned.
l A word can contain a maximum of 128 chars.
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
Page 276