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.CefGlueAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic bool GetDataResourceForScale(
int resourceId,
CefScaleFactor scaleFactor,
out void* data,
out UIntPtr dataSize
)
Parameters
- resourceId Int32
-
- scaleFactor CefScaleFactor
-
- data Void*
-
- dataSize UIntPtr
-
Return Value
Boolean
See Also