Version 118.6.80
Returns the bitmap representation that most closely matches scaleFactor.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax byte[] GetAsBitmap(
float scaleFactor,
ColorType colorType,
AlphaType alphaType,
out int pixelWidth,
out int pixelHeight
)
array<unsigned char>^ GetAsBitmap(
float scaleFactor,
ColorType colorType,
AlphaType alphaType,
[OutAttribute] int% pixelWidth,
[OutAttribute] int% pixelHeight
)
Parameters
- scaleFactor
- Type: SystemSingle
scale factor - colorType
- Type: CefSharp.EnumsColorType
color type - alphaType
- Type: CefSharp.EnumsAlphaType
alpha type - pixelWidth
- Type: SystemInt32
pixel width - pixelHeight
- Type: SystemInt32
pixel height
Return Value
Type:
ByteA stream represending the bitmap or null.
See Also