GETBITMAPSIZE

Top  Previous  Next

Syntax

GETBITMAPSIZE(handle as UINT,vWidth as UINT BYREF,vHeight as UINT BYREF)

Description

Returns the width and height of a bitmap loaded by LOADIMAGE

Parameters

handle - [in] Handle returned by LOADIMAGE of type @IMGBITMAP

vWidth - [out] UINT variable to receive the width

vHeight - [out] UINT variable to receive the height

Return value

None

Remarks

See Also: LOADIMAGE

Example usage

DEF w,h as UINT
GETBITMAPSIZE myimage,w,h