/// <summary>
 /// Returns a CefBinaryValue containing the decompressed contents of the
 /// specified scale independent |resource_id| or NULL if not found. Include
 /// cef_pack_resources.h for a listing of valid resource ID values.
 /// </summary>
 public CefBinaryValue GetDataResource(int resource_id)
 {
     return(CefBinaryValue.FromNativeOrNull(
                cef_resource_bundle_t.get_data_resource(_self, resource_id)
                ));
 }
 /// <summary>
 /// Returns a CefBinaryValue containing the decompressed contents of the
 /// specified |resource_id| nearest the scale factor |scale_factor| or NULL if
 /// not found. Use a |scale_factor| value of SCALE_FACTOR_NONE for scale
 /// independent resources or call GetDataResource instead.Include
 /// cef_pack_resources.h for a listing of valid resource ID values.
 /// </summary>
 public CefBinaryValue GetDataResourceForScale(int resource_id, CefScaleFactor scale_factor)
 {
     return(CefBinaryValue.FromNativeOrNull(
                cef_resource_bundle_t.get_data_resource_for_scale(_self, resource_id, scale_factor)
                ));
 }
Beispiel #3
0
 /// <summary>
 /// Returns the value at the specified index as type binary. The returned
 /// value will reference existing data.
 /// </summary>
 public CefBinaryValue GetBinary(int index)
 {
     return(CefBinaryValue.FromNativeOrNull(
                cef_list_value_t.get_binary(_self, checked ((UIntPtr)index))
                ));
 }