2021.2

Table Of Contents
Property/method Description Return Type
Since the find() method always
returns a region, regardless of
search results, it is necessary to
examine the value of found to
determine the actual result of the
operation.
"range" on page425 Read-only object containing the
physical coordinates of the region.
Physical location of the
region: x1 (left), y1 (top), x2
(right), y2 (bottom),
expressed in characters for
a text file or in millimeters for
a PDF file.
For a CSV file, it is the name
of the column that defines
the region.
Methods
The following table describes the methods of the region object.
Property/method Description Return Type
"createRegion()"
below
Creates a region by setting the physical
coordinates of the region object.
A region that has the
specified coordinates.
createRegion()
This method sets the physical coordinates of the region object. The region is available when
setting document boundaries using a script (see "region" on the previous page).
PDF and Text: createRegion(x1, y1, x2, y2)
Creates a region from the data, using the specified left (x1), top (y1), right (x2) and bottom (y2)
parameters, expressed in characters for a text file or in millimeters for a PDF file.
x1
Page 423