| Commands Used with the IMGCTRL, IMGOP and PICFILL Functions |
| Syntax | |
| Details | |
| Example |
Syntax |
| rc=IMGCTRL(task-id, 'WSIZE', width, height <, x, y>); |
| Details |
WSIZE sets the size of the Image window. Optionally, it positions the window at x and y. Some window managers might not support positioning.
| Example |
Make the Image window match the size of the image that is being displayed:
main: height=0; width=0; rc=imgop(task-id,'READ',path); rc=imgop(task-id,'QUERYN','WIDTH',iwidth); rc=imgop(task-id,'QUERYN','HEIGHT',iheight); rc=imgctrl(task-id,'WSIZE',iwidth,iheight); rc=imgop(task-id,'PASTE',1,1); return;
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.