Copyright © 2013-2014 MultiMedia Soft

SetCustomPaintFunction method

Previous pageReturn to chapter overviewNext page

Remarks

 

Provides a pointer to 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]

control.SetCustomPaintFunction (

pFunction as Long

) as long


 

[C++]

long control.SetCustomPaintFunction (

long pFunction

);


 

Parameter

Description

 

 

pFunction

Pointer to the custom drawing function

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.