Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Syntax | |
Details | |
Example |
Syntax |
rc=IMGOP(task-id, 'READ_PASTE_AUTO', x, y, image-path<, attributes>); |
contains either the pathname of the external file that contains the image or the path string that is returned by the LNAMEMK function.
are file-specific attributes. See Attributes for Reading Image Files for possible choices.
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);
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.