Click or drag to resize
CfxGetDataResourceEventArgs 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
    ChromiumCfxEventArgs
      Chromium.EventCfxGetDataResourceEventArgs

Namespace: Chromium.Event
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxGetDataResourceEventArgs : CfxEventArgs

The CfxGetDataResourceEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyData
Set the Data out parameter for the GetDataResource callback.
Public propertyDataSize
Set the DataSize out parameter for the GetDataResource callback.
Public propertyResourceId
Get the ResourceId parameter for the GetDataResource callback.
Top
Methods
  NameDescription
Public methodSetReturnValue
Set the return value for the GetDataResource 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