Retrieves the dimensions of a compatible bitmap
#include <WinAPIGdi.au3>
_WinAPI_GetBitmapDimensionEx ( $hBitmap )
$hBitmap | Handle to a compatible bitmap (DDB). |
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. |
If the dimensions have not yet been set, the structure that is returned will have zeros in those fields.
Search GetBitmapDimensionEx in MSDN Library.