Please enable JavaScript to view this site.

thinBasic Help Manual

Navigation: ThinBASIC Modules > TImage

TImage_GetBitmapInfo

Scroll Prev Top Next More

* * 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

 

Returns and/or fill a TBITMAP UDT structure with info about a loaded image.

 

Syntax

 

sBitmap = TImage_GetBitmapInfo(ImageID [, ptrToTBITMAP])

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

ImageID

Number

No

The unique ID used during TImage_Load.

ptrToTBITMAP

Number

Yes

A pointer to a TBITMAP udt structure that will receive image info.

If omitted, function will return a string representing a TBITMAP udt.

 

Remarks

 

If ptrToTBITMAP parameter is omitted or null, function will return a string that is the memory representation of a TBITMAP udt containing image info.

If ptrToTBITMAP parameter is present, function will return an empty string and passes TBITMAP pointed UDT will be filled instead.

 

Restrictions

 

See also

 

Examples

 

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