Click or drag to resize

Gdi32FuncBitBlt Method

Performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.

Namespace: Altaxo.UnmanagedApi.Gdi32
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool BitBlt(
	IntPtr hdc,
	int nXDest,
	int nYDest,
	int nWidth,
	int nHeight,
	IntPtr hdcSrc,
	int nXSrc,
	int nYSrc,
	TernaryRasterOperations dwRop
)

Parameters

hdc  IntPtr
Handle to the destination device context.
nXDest  Int32
The leftmost x-coordinate of the destination rectangle (in pixels).
nYDest  Int32
The topmost y-coordinate of the destination rectangle (in pixels).
nWidth  Int32
The width of the source and destination rectangles (in pixels).
nHeight  Int32
The height of the source and the destination rectangles (in pixels).
hdcSrc  IntPtr
Handle to the source device context.
nXSrc  Int32
The leftmost x-coordinate of the source rectangle (in pixels).
nYSrc  Int32
The topmost y-coordinate of the source rectangle (in pixels).
dwRop  TernaryRasterOperations
A raster-operation code.

Return Value

Boolean
true if the operation succeedes, false otherwise. To get extended error information, call GetLastWin32Error.
See Also