Funktionreferenz


_WinAPI_SetBitmapDimensionEx


Assigns preferred dimensions to a compatible bitmap

#include <WinAPIGdi.au3>
_WinAPI_SetBitmapDimensionEx ( $hBitmap, $iWidth, $iHeight )

Parameter

$hBitmap Handle to the bitmap. This bitmap cannot be a DIB-section bitmap.
$iWidth The width, in 0.1-millimeter units, of the bitmap.
$iHeight The height, in 0.1-millimeter units, of the bitmap.

Rückgabewert

Success: True
Failure: False

Bemerkungen

The bitmap cannot be a DIB section, which is a bitmap created by the _WinAPI_CreateDIB() or _WinAPI_CreateDIBSection()
functions. If the bitmap is a DIB section, the _WinAPI_SetBitmapDimensionEx() function fails.

Call _WinAPI_GetExtended() to retrieve a $tagSIZE structure containing the previous dimensions of the bitmap.

Verwandte Funktionen

_WinAPI_CreateDIB, _WinAPI_CreateDIBSection, _WinAPI_GetExtended

Siehe auch

Suche nach SetBitmapDimensionEx in der MSDN Bibliothek.