Delegate HtmlImageLoadCallback
Callback used in Html
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.
Namespace: TheArtOfDev.HtmlRenderer.Core.Entities
Assembly: Telerik.WinControls.RadMap.dll
Syntax
public delegate void HtmlImageLoadCallback(string path, object image, RRect imageRectangle);
Parameters
System. the path to the image to load (file path or URL) |
System. the image to use |
RRect
imageRectangle
optional: limit to specific rectangle in the loaded image |
Constructors
HtmlImageLoadCallback(Object, IntPtr)
Declaration
public HtmlImageLoadCallback(object object, IntPtr method)
Parameters
System.
|
System.
|
Methods
BeginInvoke(String, Object, RRect, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(string path, object image, RRect imageRectangle, AsyncCallback callback, object object)
Parameters
System.
|
System.
|
RRect
imageRectangle
|
System.
|
System.
|
Returns
System.
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
System.
|
Invoke(String, Object, RRect)
Declaration
public virtual void Invoke(string path, object image, RRect imageRectangle)
Parameters
System.
|
System.
|
RRect
imageRectangle
|