Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Selects the image identifier to be used in other commands
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
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.
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);
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.