Version 75.1.140
Returns the PNG representation that most closely matches scaleFactor.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax byte[] GetAsPNG(
float scaleFactor,
bool withTransparency,
out int pixelWidth,
out int pixelHeight
)
array<unsigned char>^ GetAsPNG(
float scaleFactor,
bool withTransparency,
[OutAttribute] int% pixelWidth,
[OutAttribute] int% pixelHeight
)
Parameters
- scaleFactor
- Type: SystemSingle
scale factor - withTransparency
- Type: SystemBoolean
is the PNG transparent - pixelWidth
- Type: SystemInt32
pixel width - pixelHeight
- Type: SystemInt32
pixel height
Return Value
Type:
ByteA stream represending the PNG or null.
See Also