XADcanvassaveimage


Purpose
Save an image to memory (to avoid loading a file repeatedly).
Synopsis
procedure XADcanvassaveimage(id:integer, x:real, y:real, w:integer, h:integer, imgname: string)
procedure XADcanvassaveimage(id:integer, filename:string, imgname: string)
Arguments
id 
Canvas identifier
x coordinate
y coordinate
Width
Height
filename 
File containing an image (.bmp, .jpg, .gif, or .png)
imgname 
Image name
Further information
Saves what is currently drawn at x,y,w,h or the image in filename under the identifier imgname. imgname can then be drawn anywhere else using XADcanvasdrawimage.
Related topics
XADcanvasdrawimage


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.