Chapter Contents

Previous

Next
UNPASTE

UNPASTE



Removes an image from the display


Syntax
Details
Example

Syntax

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

image-id
contains the identifier of the image to remove from the display.

Type: Numeric


Details

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.


Example

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);


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.