Chapter Contents

Previous

Next
PASTE_AUTO

PASTE_AUTO



Displays an image automatically


Syntax
Details
Example

Syntax

rc=IMGOP(task-id, 'PASTE_AUTO'<, x, y>);

x
is the X coordinate (on the display) of the top left corner of the image.

Type: Numeric

y
is the Y coordinate (on the display) of the top left corner of the image.

Type: Numeric


Details

PASTE_AUTO acts on the currently selected image. It provides the same basic function as PASTE. In addition, PASTE_AUTO modifies an image by dithering it (changing the color map) or quantizing it (reducing the number of colors it uses), so that you can display it on the current device. It also attempts to prevent switching to false colors or to a private color map.


Example

Automatically display an image with its upper left corner at 200, 200:

if (display=1) then
    rc=imgop(task-id,'PASTE_AUTO',200,200);


Chapter Contents

Previous

Next

Top of Page

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