Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Loads an image and returns an image handle.

 

Syntax

 

hImg = TImage_Load(ImageID, sImageFullPathName)

 

Returns

 

Numeric.

The function returns a handle to the image.

Zero is returned if an error occurs.

 

Parameters

 

Name

Type

Optional

Meaning

ImageID

Number

No

A unique number assigned to the image by the programmer.

This ID will be used in all TImage_* functions to interact with the image

sImageFullPathName

String

No

The filename and path to the image file.

 

Remarks

 

Supported image file formats: BMP, ICO, JPG, TGA, PNG, TIFF.

 

Restrictions

 

See also

 

Examples

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software