7.4

Table Of Contents
Example
&maxwidth := pdfwidth( ‘parts_manual’,3 )
&maxheight := pdfheight( ‘parts_manual’,4 )
PixelHeight (function)
Returns the height, in pixels, of the specified image.
Syntax
pixelheight( image ) integer
Argument
image
String value specifying the path of the file containing the image.
PixelWidth (function)
Returns the width, in pixels, of the specified image.
Syntax
pixelwidth( image ) integer
Argument
image
String value specifying the path of the file containing the image.
Pos (function)
Returns the starting position of a specified string within another string, or 0 if the specified string cannot be found.
Syntax
pos( string1, string2 ) integer value
Arguments
string1
String value to search for.
string2
String value in which to search.
Code Sample Example
This example uses POS to look for a word in a data selection.
©2010 Objectif Lune Inc - 501 -