Click or drag to resize
CfrGetDataResourceEventArgs Class

[This is preliminary documentation and is subject to change.]

Called to retrieve data for the specified scale independent |ResourceId|. To provide the resource data set |Data| and |DataSize| to the data pointer and size respectively and return true (1). To use the default resource data return false (0). The resource data will not be copied and must remain resident in memory. Include cef_pack_resources.h for a listing of valid resource ID values.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    Chromium.RemoteCfrEventArgs
      Chromium.Remote.EventCfrGetDataResourceEventArgs

Namespace: Chromium.Remote.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfrGetDataResourceEventArgs : CfrEventArgs

The CfrGetDataResourceEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyData
Set the Data out parameter for the GetDataResource render process callback.
Public propertyDataSize
Set the DataSize out parameter for the GetDataResource render process callback.
Public propertyResourceId
Get the ResourceId parameter for the GetDataResource render process callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the GetDataResource render process callback. Calling SetReturnValue() more then once per callback or from different event handlers will cause an exception to be thrown.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_resource_bundle_handler_capi.h.
See Also