Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PaintCallbackDelegate Delegate
See Also 
Leadtools Namespace : PaintCallbackDelegate Delegate



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

Syntax

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

Parameters

image
The RasterImage being painted.
Params
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also