Click or drag to resize

CefResourceBundleGetDataResourceForScale Method

Retrieves the contents of the specified |resource_id| nearest the scale factor |scale_factor|. Use a |scale_factor| value of SCALE_FACTOR_NONE for scale independent resources or call GetDataResource instead. If the value is found then |data| and |data_size| will be populated and this method will return true. If the value is not found then this method will return false. The returned |data| pointer will remain resident in memory and should not be freed. Include cef_pack_resources.h for a listing of valid resource ID values.

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool GetDataResourceForScale(
	int resourceId,
	CefScaleFactor scaleFactor,
	out void* data,
	out UIntPtr dataSize
)

Parameters

resourceId
Type: SystemInt32
scaleFactor
Type: Internal.Xilium.CefGlueCefScaleFactor
data
Type: SystemVoid*
dataSize
Type: SystemUIntPtr

Return Value

Type: Boolean
See Also