Function Reference


_WinAPI_GetBitmapDimensionEx

Retrieves the dimensions of a compatible bitmap

#include <WinAPIGdi.au3>
_WinAPI_GetBitmapDimensionEx ( $hBitmap )

Parameters

$hBitmap Handle to a compatible bitmap (DDB).

Return Value

Success: $tagSIZE structure that contains fields for the height and width of the bitmap, in .01-mm units.
Failure: Sets the @error flag to non-zero.

Remarks

If the dimensions have not yet been set, the structure that is returned will have zeros in those fields.

See Also

Search GetBitmapDimensionEx in MSDN Library.