Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

DESTROY



Removes an image from memory and from the display
Syntax
Details
Example

Syntax

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

image-id

contains the identifier of the image to remove.

Type: Numeric


Details

DESTROY removes an image from memory and from the display. Unless image-id is specified, this command acts on the currently selected image. The command does not affect the image that is stored in the external file or catalog.


Example

Remove an image from the display:

if (remove=1 and imgnum > 0) 
then 
  rc=imgop(task-id,'DESTROY',imgnum);

Previous Page | Next Page | Top of Page