Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > Canvas Control >

Canvas_BitmapGetFileInfo

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieve the size of an image in a bitmap file.

 

Syntax

 

n = Canvas_BitmapGetFileInfo(BitmapFileName, nWidth, nHeight)

 

Returns

 

Number.

Zero = no errors

 

Parameters

 

Name

Type

Optional

Meaning

BitmapFileName

String

No

Full path of a bitmap file

nWidth

Variable

No

A numeric variable that will receive bitmap width

nHeight

Variable

No

A numeric variable that will receive bitmap height

 

Remarks

 

Restrictions

 

See also

 

Examples