7.4

Table Of Contents
Argument
path
String value specifying the path of the data file.
DefineImageIndex (procedure)
Defines a PlanetPress Search index term. PlanetPress Image uses this information to generate the .PDI file it creates for each
PDF file it creates. You use SetImageIndex (procedure) to associate a data value with the index term.
Syntax
defineimageindex( name, [length] )
Arguments
name
String value specifying a name for the index term.
length
String value specifying a length for the index term.
Code Sample Examples
Example 1
This example defines the index term 'PONumber' and assigns it a length of 8 characters. The PDI file generated by PlanetPress
Image contains the line: ~IndexName=PONumber,8.
defineimageindex( 'PONumber', '8')
Example 2
This example defines the same index term, this time without defining a length for the term. In this case the line in the PDI file
becomes: ~IndexName=PONumber
defineimageindex( 'PONumber' )
DoForm (procedure)
Runs the current document. This command is usually issued once a complete data page has been received and committed to
buffer. This command should only be used before reading the next page of data from the input stream. It is strictly for use
within a User-Define Emulation.
Syntax
doform()
Argument
None
©2010 Objectif Lune Inc - 418 -