Callback used in
HtmlImageLoadEventArgs to allow setting image externally and async.
The callback can provide path to image file path, URL or the actual image to use.
If
imageRectangle is given (not
Empty) then only the specified rectangle will
be used from the loaded image and not all of it, also the rectangle will be used for size and not the actual image size.
命名空间:
DSkin.Html.Core.Entities
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public delegate void HtmlImageLoadCallback(
string path,
Object image,
RRect imageRectangle
)
参数
- path
- 类型:SystemString
the path to the image to load (file path or URL) - image
- 类型:SystemObject
the image to use - imageRectangle
- 类型:DSkin.Html.Adapters.EntitiesRRect
optional: limit to specific rectangle in the loaded image
参见