7.6

Table Of Contents
Regionline (function)
Returns an array of strings, containing the text found inside left-top, right-bottom coordinates.
Note: This function only works in Windows Printing or Optimized PostScript Stream. If used in printer centric mode, it will
return an empty string.
Syntax
regionline(x1, y1, x2, y2: measure; [index: integer = 0] string
Argument
x1, y1, x2, y2
Measure values specifying the coordinates, in inches or centimeters, for the area on which to read the data in the current data
page.
index
Integer value specifying the line number to return. If no <>index<> paramter is specified, the default value is 0.
Code Sample Example
This example illustrates how to assign data from the current data page to a string variable by using the regionline() command.
Example
define(&invnum, string, regionline(2.1807,0.3018,3.8843,0.9054, 0))
Related topics:
l "Region (function)" (page 501)
ResourceType (function)
Returns the type of a resource. Recall that resources are either images or attachments.
Syntax
resourcetype( name ) integer value
Argument
name
String value that specifies the name of the resource.
©2010 Objectif Lune Inc - 502 -