CefImageGetAsBitmap Method |
Returns the bitmap representation that most closely matches |scale_factor|.
Only 32-bit RGBA/BGRA formats are supported. |color_type| and |alpha_type|
values specify the desired output pixel format. |pixel_width| and
|pixel_height| are the output representation size in pixel coordinates.
Returns a CefBinaryValue containing the pixel data on success or NULL on
failure.
Namespace: Internal.Xilium.CefGlueAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic CefBinaryValue GetAsBitmap(
float scaleFactor,
CefColorType colorType,
CefAlphaType alphaType,
out int pixelWidth,
out int pixelHeight
)
Parameters
- scaleFactor Single
-
- colorType CefColorType
-
- alphaType CefAlphaType
-
- pixelWidth Int32
-
- pixelHeight Int32
-
Return Value
CefBinaryValue
See Also