LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
PaintCallbackDelegate Delegate
See Also 



image
The Leadtools.RasterImage being painted.
args
The arguments for the callback.
The prototype for all the RasterPaintCallbacks.

Syntax

Visual Basic (Declaration) 
Public Delegate Function PaintCallbackDelegate( _
   ByVal image As RasterImage, _
   ByVal args() As Object _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As New PaintCallbackDelegate(AddressOf HandlerMethod)
C# 
public delegate object PaintCallbackDelegate( 
   RasterImage image,
   object[] args
)
C++/CLI 
public delegate Object^ PaintCallbackDelegate( 
   RasterImage^ image,
   array<Object^>^ args
)

Parameters

image
The Leadtools.RasterImage being painted.
args
The arguments for the callback.

Example

For an example, refer to RasterPaintCallbacks.

Remarks

The number and type of parameters is fixed for each callback type.

For more information on the return value and parameters for each callback type, see RasterImagePaintCallbackFunction.

These callbacks are set to a RasterPaintCallbacks class using SetCallback.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also