PyCBitmap.CreateCompatibleBitmap

CreateCompatibleBitmap(dc, width, height)

Creates a bitmap compatible with the specified device context.

Parameters

dc : PyCDC

Specifies the device context.

width : int

The width (in bits) of the bitmap

height : int

The height (in bits) of the bitmap.