|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.Waveform.CreateMemoryBitmapView (
nPlayer as Integer,
nStartPos as Integer,
nEndPos as Integer,
nBitmapWidth as Integer,
nBitmapHeight as Integer,
nWaveformType as enumWaveformTypes
) as Long
|
|
[C++]
long control.Waveform.CreateMemoryBitmapView (
short nPlayer,
long nStartPos,
long nEndPos,
long nBitmapWidth,
long nBitmapHeight,
short nWaveformType
);
|
|
Parameter
|
Description
| ||||||||||||
|
|
| ||||||||||||
|
nPlayer
|
Number representing the zero-based index of the player that will use the Waveform
| ||||||||||||
|
nStartPos
|
Number representing the sound's position, expressed in milliseconds, where the waveform visualization begins.
The value 0 represents the sound's beginning.
| ||||||||||||
|
nEndPos
|
Number representing the sound's position, expressed in milliseconds, where the waveform visualization ends.
The value -1 represents the sound's end.
| ||||||||||||
|
nBitmapWidth
|
Number representing the generated bitmap width, expressed in pixels. A value of -1 indicates no width constraints: in this case the control will generate a bitmap large enough in order to contain the full sound's waveform.
| ||||||||||||
|
nBitmapHeight
|
Number representing the generated bitmap height, expressed in pixels.
| ||||||||||||
|
nWaveformType
|
The type of rendered waveform, related to the sound's channels.
Supported values are the following:
|
|
Value
|
Meaning
|
|
|
|
|
0
|
An error occurred (check the LastError property for error details)
|
|
Value is not 0
|
The method call was successful and the returned value represents the handle (HBITMAP) of the waveform's bitmap stored in memory
|