CALL "W$BITMAP" USING opCode parameters GIVING bitmapHandle |
opCode | Function to be executed. Valid values, defined in isgui.def, are: | |
Destroy an image and releases the memory. | ||
Load an image into memory and then displays it on the screen. | ||
Load an image into memory. The image can then be shown on the GUI or used in print jobs. | ||
Load an image from the client machine into memory. The image can then be shown on the GUI or used in client-side print jobs. | ||
parameters | Parameters depend on the opcode. |
working-storage section. copy "isgui.def". 77 h-bitmap pic s9(9) comp-4. screen section. 01 Mask. 03 Bmp1 bitmap line 2 col 2 lines 10 cells size 21 cells . 03 Ef1 entry-field read-only line 13 col 2 size 15 cells . procedure division. main. call "w$bitmap" using wbitmap-load, "images/img.png" giving h-bitmap if h-bitmap < 0 display message "W$BITMAP Error: " h-bitmap else modify Bmp1 bitmap-handle h-bitmap end-if. ... |