Copyright © 2005-2019 MultiMedia Soft

Waveform.UseHalfColorForPeaks property

Previous pageReturn to chapter overviewNext page

Remarks

 

When generating the waveform bitmap view through one of the following methods: Waveform.BitmapViewSaveToFile, Waveform.BitmapViewSaveToMemory and Waveform.BitmapViewDrawToHdc  determines if the waveform line must be drawn using only the color set inside the Waveform.ColorLine property or if waveform's peaks should be drawn using a second color which is half the intensity of the color set through the Waveform.ColorLine property.

 

Syntax

 

[Visual Basic]

Public Function get_UseHalfColorForPeaks (

nPlayerIndex as Int16

) as Boolean

 

Public Sub set_UseHalfColorForPeaks (

nPlayerIndex as Int16,

bUseHalfColor as Boolean

)


 

[C#]

public bool get_UseHalfColorForPeaks (

Int16 nPlayerIndex

);

 

public void set_UseHalfColorForPeaks (

Int16 nPlayerIndex,

bool bUseHalfColor

);


 

[C++]

public: bool get_UseHalfColorForPeaks (

Int16 nPlayerIndex

);

 

public: void set_UseHalfColorForPeaks (

Int16 nPlayerIndex,

bool bUseHalfColor

);


 

 

 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the player that will use the Waveform

bUseHalfColor

Boolean value determining if half color must be used.

Mnemonic value

Meaning

false

Don't use half color for drawing waveform peaks

 

true (default)

Use half color for drawing waveform peaks

 

 

 

See also

 

Waveform class.

DisplayWaveform property

How to use the embedded Visual Feedbacks tutorial.

How to obtain the sound's waveform tutorial.