Copyright © 2013-2014 MultiMedia Soft

SetCustomPaintFunction method

Previous pageReturn to chapter overviewNext page

Remarks

 

Provides the address of a custom drawing function that will be invoked immediately before completing the waveform analyzer rendering.

 

For further details about custom graphic rendering see the How to perform custom graphic rendering over the control's surface tutorial.

 

 

Syntax

 

[Visual Basic]

Public Function SetCustomPaintFunction (

pFunction as DrawCallbackFunction

) as Int32


 

[C#]

public Int32 SetCustomPaintFunction (

DrawCallbackFunction pFunction

);


 

[C++]

public: Int32 SetCustomPaintFunction (

DrawCallbackFunction pFunction

);


 

Parameter

Description

 

 

pFunction

Address of the custom drawing function

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.