GDIp_CreateBitMapFromFile

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > GDIp >

GDIp_CreateBitMapFromFile

 

Description

 

Creates a Bitmap object based on an image file.

 

Syntax

 

pImage = GDIP_CreateBitmapFromFile(sFileName)

 

Returns

 

Number.

Pointer to a DWORD variable that receives a pointer to a Bitmap 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