7.4

Table Of Contents
Example 2
This example displays the bitmap image sunset at a resolution of 300 pixels per inch.
showbitmap('sunset',300,0,0)
Example 3
This example prints either an image, or, if the image cannot be found, the pathname to the image.
define( &image_paths, directory, 'c:\\images\\*.JPG' )
define( &i, integer, 1 )
if( resourcetype( &image_paths[&i] ) <> 0 )
showbitmap( &image_paths[&i], 300, 0, 0)
crlf( bitmapheight( &image_paths[&i] ) )
elseif()
show( &image_paths[&i] )
crlf( 0.16 )
endif()
ShowCaptureUserArea (procedure)
Displays a Capture Field object.
Syntax
showcaptureuserarea( name: string, areatype: integer, left: measure,top: measure, width:measure, height:measure,
requiredfield:integer, disablerewrite: boolean, groupid:integer )
Arguments
name
String that defines the name of the Capture Field object (aka "PressTalk ID"). Must be the same as defined in the metadata
and can only be letters or numbers (no spaces or special characters).
areatype
Integer that defines what kind of area type to use, from the following list:
l 0 - Checkbox
l 1 - List Fields
©2010 Objectif Lune Inc - 356 -