Click or drag to resize

CefBrowserHostDownloadImage Method

Download |image_url| and execute |callback| on completion with the images received from the renderer. If |is_favicon| is true then cookies are not sent and not accepted during download. Images with density independent pixel (DIP) sizes larger than |max_image_size| are filtered out from the image results. Versions of the image at different scale factors may be downloaded up to the maximum scale factor supported by the system. If there are no image results <= |max_image_size| then the smallest image is resized to |max_image_size| and is the only result. A |max_image_size| of 0 means unlimited. If |bypass_cache| is true then |image_url| is requested from the server even if it is present in the browser cache.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public void DownloadImage(
	string imageUrl,
	bool isFavIcon,
	uint maxImageSize,
	bool bypassCache,
	CefDownloadImageCallback callback
)

Parameters

imageUrl  String
 
isFavIcon  Boolean
 
maxImageSize  UInt32
 
bypassCache  Boolean
 
callback  CefDownloadImageCallback
 
See Also