WinXDraw_SaveImage


WinXDraw_SaveImage (hImage, STRING fileName, fileType)

Saves an image to a file on disk

Parameter Description
hImage The handle of the image to save
STRING fileName The name of the file to save the image to
fileType The type of file to save the image as. See remarks for more info

Returns

$$TRUE on success or $$FALSE on fail

Remarks

The fileType parameter can be any one of the following:

$$FILETYPE_WINBMP
Windows BMP file

Examples

'save an image
WinXDraw_SaveImage (hImage, "test.bmp", $$FILETYPE_WINBMP)

Related Links

Images
WinXDraw_CreateImage
WinXDraw_LoadImage
WinXDraw_Snapshot
WinXDraw_SetImagePixel