SAS Component Language Dictionary |
Category: | Image |
Syntax | |
Commands Used with PICFILL | |
Details | |
Example |
Syntax |
region-id=PICFILL(graphenv-id,type,ulr,ulc,lrr,lrc, source,<command<,arguments>>); |
contains the return code for the operation:
0 | |
>0 |
contains the graphics environment identifier that was returned by PICOPEN.
is the type of item to be displayed: IMAGE, GRSEG, or BITMAP.
is the upper left row of the screen area in which to display the image or graphics segment.
is the upper left column of the screen area in which to display the image or graphics segment.
is the lower right row of the screen area in which to display the image or graphics segment.
is the lower right column of the screen area in which to display the image or graphics segment.
specifies the location of the image.
For type BITMAP, specify the numeric value of a bitmap in a host-dependent resource file.
For type GRSEG, specify the four-level name of the graphic segment to be displayed.
For type IMAGE, specify either the name of an external file to be loaded or the path string from the LNAMEMK function.
lists commands that are used with type IMAGE to manipulate the image before displaying it. Valid commands are listed in Commands Used with PICFILL.
Commands Used with PICFILL |
For detailed information about these commands, see Commands Used with the IMGCTRL, IMGOP and PICFILL Functions.
dithers the selected image to a monochrome black and white image.
Details |
PICFILL performs two functions:
If you specify a command, the PICFILL manipulates the image before displaying it.Example |
Display an image when the window opens:
init: imgfile=lnamemk(2,location,file); region_id=picfill(graphenv_id,"IMAGE", 15,12,40,78,imgfile); return;
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.