Navigation:  thinBasic Modules > TImage >

TImage_Resize

Previous pageReturn to chapter overviewNext page

 

Description

 

Resize an image to a new width/height and returns anew image handle.

 

Syntax

 

hImg = TImage_Resize(ImageID, lWidth, lHeight)

 

Returns

 

Numeric.

The function returns a new handle for the image.

 

Parameters

 

Name

Type

Optional

Meaning

ImageID

Number

No

The unique ID used during TImage_Load.

lWidth

Number

No

New width in pixels

lHeight

Number

No

New height in pixels

 

Remarks

 

The function returns a new handle for the image.

The old handle becomes invalid after this operation.

 

Restrictions

 

See also

 

Examples