![]() Chapter Contents |
![]() Previous |
![]() Next |
| WSIZE |
| Syntax | |
| Details | |
| Example |
Syntax |
| rc=IMGCTRL(task-id, 'WSIZE', width, height<, x, y>); |
Type: Numeric
Type: Numeric
Type: Numeric
Type: Numeric
| 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;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.