Click or drag to resize

IImageGetAsBitmap Method

Version 130.1.90
Returns the bitmap representation that most closely matches scaleFactor.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
byte[] GetAsBitmap(
	float scaleFactor,
	ColorType colorType,
	AlphaType alphaType,
	out int pixelWidth,
	out int pixelHeight
)

Parameters

scaleFactor  Single
scale factor
colorType  ColorType
color type
alphaType  AlphaType
alpha type
pixelWidth  Int32
pixel width
pixelHeight  Int32
pixel height

Return Value

Byte
A stream represending the bitmap or null.
See Also