Previous Page | Next Page

Commands Used with the IMGCTRL, IMGOP and PICFILL Functions

READ_PASTE



Reads and displays an image
Syntax
Details
Example

Syntax

rc=IMGOP(task-id, 'READ_PASTE', x, y, image-path<, attributes>);

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

image-path

contains either the pathname of the external file that contains the image or the path string that is returned by the LNAMEMK function.

Type: Character

attributes

are file-specific attributes. See Attributes for Reading Image Files for possible choices.

Type: Character


Details

READ_PASTE acts on the currently selected image. It provides the same functionality as READ plus PASTE. Notice that x and y are required.


Example

Read and paste an image that is stored in a SAS catalog:

path=lnamemk(5,'sashelp.imagapp.gfkids',
    'format=cat');
rc=imgop(task-id,'READ_PASTE',1,1,path);

Previous Page | Next Page | Top of Page