Chapter Contents

Previous

Next
PASTE

PASTE



Displays an image at a specified location


Syntax
Details
Example

Syntax

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

x
is the X coordinate of the top left corner of the image.

Type: Numeric

y
is the Y coordinate of the top left corner of the image.

Type: Numeric


Details

PASTE acts on the currently selected image. If no coordinates are specified, the selected image is displayed either at location 0,0 or at the coordinates that were set by a previous PASTE. To set new coordinators, you can use a PASTE command with no image specified. Coordinates that are specified by a new PASTE override previous settings.


Example

Display an image with its upper left corner at 200, 200:

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


Chapter Contents

Previous

Next

Top of Page

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