Click or drag to resize

IImageGetAsPNG Method

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

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
byte[] GetAsPNG(
	float scaleFactor,
	bool withTransparency,
	out int pixelWidth,
	out int pixelHeight
)

Parameters

scaleFactor  Single
scale factor
withTransparency  Boolean
is the PNG transparent
pixelWidth  Int32
pixel width
pixelHeight  Int32
pixel height

Return Value

Byte
A stream represending the PNG or null.
See Also