Chapter Contents

Previous

Next
READ_PASTE_AUTO

READ_PASTE_AUTO



Reads and automatically displays an image


Syntax
Details
Example

Syntax

rc=IMGOP(task-id, 'READ_PASTE_AUTO', 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_AUTO acts on the currently selected image. It provides the same functionality as READ plus PASTE_AUTO. Notice that x and y are required.


Example

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

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


Chapter Contents

Previous

Next

Top of Page

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