<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > GDIp > GDIp_LoadImageFromFile |
Description
Creates an Image object based on a file.
Syntax
pImage = GDIP_LoadImageFromFile(sFileName)
Returns
Number.
Pointer to a variable that receives a pointer to the new created Image object
Parameters
Name |
Type |
Optional |
Meaning |
sFileName |
String |
No |
Path name of the image file. This string is UNICODE string. thinBasic will take care of needed conversion.
The graphics file formats supported by GDI+ are: BMP, GIF, JPEG, PNG, TIFF, Exif, WMF, and EMF. |
Remarks
Restrictions
See also
Examples