Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

SELECT



Selects the image identifier to be used in other commands
Syntax
Details
Example

Syntax

rc=IMGOP(task-id, 'SELECT'<, image-id>);

image-id

contains the identifier of the image to select. The value of image-id must be between 1 and 999. The default is 1. Using a value of 32 or less is more efficient.

Type: Numeric


Details

The SELECT command enables you to work with more than one image. The command specifies the image identifier to be used in all subsequent commands until another SELECT command is issued.

Only the COPY, DESTROY, and UNPASTE commands can act on either the currently selected image or on a specified image identifier.


Example

Display two images at once:

rc=imgop(task-id,'SELECT',1);
rc=imgop(task-id,'READ_PASTE',1,1,path1);
rc=imgop(task-id,'SELECT',2);
rc=imgop(task-id,'READ_PASTE',200,200,path2);

Previous Page | Next Page | Top of Page