Click or drag to resize

Gdi32FuncCreateCompatibleBitmap Method

Creates a bitmap compatible with the device associated with the specified device context.

Namespace: Altaxo.UnmanagedApi.Gdi32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static IntPtr CreateCompatibleBitmap(
	IntPtr hdc,
	int nWidth,
	int nHeight
)

Parameters

hdc  IntPtr
A handle to the device context.
nWidth  Int32
The bitmap width, in pixels.
nHeight  Int32
The bitmap height, in pixels.

Return Value

IntPtr
A handle to the created bitmap.
See Also