Gdi32FuncCreateCompatibleBitmap Method |
Creates a bitmap compatible with the device associated with the specified device context.
Namespace: Altaxo.UnmanagedApi.Gdi32Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
IntPtrA handle to the created bitmap.
See Also