Click or drag to resize
CfrGetDataResourceForScaleEventArgs Class

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

Called to retrieve data for the specified |ResourceId| nearest the scale factor |ScaleFactor|. 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.EventCfrGetDataResourceForScaleEventArgs

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

The CfrGetDataResourceForScaleEventArgs type exposes the following members.

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