Click or drag to resize

CefImageAddBitmap Method

Add a bitmap image representation for |scale_factor|. Only 32-bit RGBA/BGRA formats are supported. |pixel_width| and |pixel_height| are the bitmap representation size in pixel coordinates. |pixel_data| is the array of pixel data and should be |pixel_width| x |pixel_height| x 4 bytes in size. |color_type| and |alpha_type| values specify the pixel format.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool AddBitmap(
	float scaleFactor,
	int pixelWidth,
	int pixelHeight,
	CefColorType colorType,
	CefAlphaType alphaType,
	IntPtr pixelData,
	int pixelDataSize
)

Parameters

scaleFactor  Single
 
pixelWidth  Int32
 
pixelHeight  Int32
 
colorType  CefColorType
 
alphaType  CefAlphaType
 
pixelData  IntPtr
 
pixelDataSize  Int32
 

Return Value

Boolean
See Also