1.5

Table Of Contents
String to find.
leftConstraint
Number indicating the left limit from which the search is performed.
rightConstraint
Number indicating the right limit from which the search is performed.
Examples
To search the word "text" on a 8 1/2 x 11 page, the syntax is:
data.find("text", 0, 216);
Numbers 0 and 216 are in millimeters and indicate the left and right limits (constraints) within
which the search should be. Values (0, 216) in this example represent the entire width of a
page. Note that the smaller the area is, the faster the search is. So if you know that the word
"text" is within 3 inches from the left edge of the page, provide the following:
data.find("text", 0, 76.2); 76.2mm = 3*25.4 mm
The return value of the function is:
[Left=26,76, Top=149.77, Right=40,700001, Bottom=154.840302]
Which represents the size of the imaginary rectangle that encloses the string in full, in
millimeters relative to the upper left corner of the current page. This also means that the
data.find () function only works on the current page. If the record contains several pages, you
must create a loop that will perform a jump from one page to another by making a find () on
each page.
found()
Method that returns a Boolean value indicating whether the last call to find() was successful.
Related Object: Region.
found()
Method that returns a Boolean value indicating whether the last call to find() was successful.
Since the find() method always returns a region, regardless of the search results, it is
Page 246