7.5

Table Of Contents
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
l 2 - Text Area
l 3 - Multi-Area Field
left, top
Measure variables that define the position of the Capture Field, in inches, from the left and top of the page.
width, height
Measure variables that define the size, in inches, of the Capture Field.
requiredfield
©2010 Objectif Lune Inc - 472 -