Visual Basic (Declaration) | |
---|---|
Public Sub SetCallback( _ ByVal functionType As RasterImagePaintCallbackFunction, _ ByVal functionPointer As PaintCallbackDelegate _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void SetCallback( RasterImagePaintCallbackFunction functionType, PaintCallbackDelegate functionPointer ) |
C++/CLI | |
---|---|
public: void SetCallback( RasterImagePaintCallbackFunction functionType, PaintCallbackDelegate^ functionPointer ) |
Parameters
- functionType
The type of callback to add.
This parameter must be one of the RasterImagePaintCallbackFunction enumeration.
- functionPointer
The callback function.
For an example, refer to RasterImage.PaintCallbacks.
This method sets a particular callback. If you wish to remove a callback pass null (Nothing in VB) as functionPointer parameter.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family