Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
Reads and displays an image
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
READ_PASTE acts on the currently selected
image. It provides the same functionality as READ plus PASTE. Notice that x and y are
required.
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);
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.