The SET command is used to specify page images to be used by the CREATE command.

The SET command requires a working list with six fields to pass the image information to the service.

The fields can be of any name and size; it is the sequence of the fields that is important.

Sequence

Suggested Name

Contents

1

PAGE

Page number.

2

X

X location of image.

3

Y

Y location of image.

4

WIDTH

Width of image.

5

HEIGHT

Height of image.

6

PATH

Path of image file.

Syntax:

Command

Keyword

Value

Developer notes

SET

OBJECT

*IMAGES


Comments / Warnings

To include the same image on all pages, use a page number of 0.

The unit of measurement for positioning the image is the point.

There are 72 points in 1 inch.

The X co-ordinate runs from the left side of the page to the right size of the page.

The Y co-ordinate runs from the top of the page to the bottom of the page.

The top left-hand corner of the page is 0,0.

Example

    SET OBJECT(*IMAGES) #WRKLST(IMGPAGE,IMGX,IMGY,IMGW,IMGH,IMGPATH)

  • No labels