Purpose |
Render an image on the selected graphic target. |
Syntax |
GRAPHIC RENDER BmpName$, (x1!, y1!)-(x2!, y2!) |
Remarks |
Renders an image, loaded from a resource
or a disk file, on the selected graphic
The following code will retrieve the natural size of an image in a bitmap file, in pixels: nFile& = FREEFILE OPEN "myimage.bmp" FOR BINARY AS nFile& GET #nFile&, 19, nWidth& GET #nFile&, 23, nHeight& CLOSE nFile& |
See also |