Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Removes an image from the display
rc=IMGOP(task-id, 'UNPASTE'<, image-id>);
|
-
image-id
-
contains the identifier of the image to
remove from the display.
Type: Numeric
UNPASTE acts either on the currently selected
image or on the image specified by image-id.
The image is removed from the display, but it is not removed from memory.
UNPASTE enables you to remove an image from the display and to later paste
it without re-reading it.
Display two images at once and then remove one of them:
rc=imgop(task-id,'SELECT',1);
rc=imgop(task-id,'READ_PASTE',1,1,name1);
rc=imgop(task-id,'SELECT',2);
rc=imgop(task-id,'READ_PASTE',200,200,name2);
...more SCL statements...
if (omit=1) then
rc=imgop(task-id,'UNPASTE',1);
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.