LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)

SetCallback Method

Show in webframe





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)

            

            

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

See Also

Reference

RasterPaintCallbacks Class
RasterPaintCallbacks Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.