LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

SetCallback Method






The type of callback to add.

This parameter must be one of the RasterImagePaintCallbackFunction enumeration.

The callback function.

Adds a callback to the RasterPaintProperties.PaintCallbacks member.
Syntax
'Declaration
 
Public Sub SetCallback( _
   ByVal functionType As RasterImagePaintCallbackFunction, _
   ByVal functionPointer As PaintCallbackDelegate _
) 
'Usage
 
Dim instance As RasterPaintCallbacks
Dim functionType As RasterImagePaintCallbackFunction
Dim functionPointer As PaintCallbackDelegate
 
instance.SetCallback(functionType, functionPointer)
 function Leadtools.Drawing.RasterPaintCallbacks.SetCallback( 
   functionType ,
   functionPointer 
)

Parameters

functionType

The type of callback to add.

This parameter must be one of the RasterImagePaintCallbackFunction enumeration.

functionPointer

The callback function.

Remarks

This method sets a particular callback. If you wish to remove a callback pass null (Nothing in VB) as functionPointer parameter.

Example
For an example, refer to RasterPaintProperties.PaintCallbacks.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterPaintCallbacks Class
RasterPaintCallbacks Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.