|
Copyright © 2001-2008 MultiMedia Soft
Return to Table of contents
|
|
[Visual Basic]
control.Waveform.GetBitmapViewWidth (
nPlayer as Integer,
nStartPos as Integer,
nEndPos as Integer
) as enumErrorCodes
|
|
[C++]
short control.Waveform.GetBitmapViewWidth (
short nPlayer,
long nStartPos,
long nEndPos
);
|
|
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's view begins.
The value 0 represents the sound's beginning.
|
|
nEndPos
|
Number representing the sound's position, expressed in milliseconds, where the waveform's view ends.
The value -1 represents the sound's end.
|
|
Value
|
Meaning
|
|
|
|
|
Negative value
|
An error occurred (see the LastError property for further error details)
|
|
Value > 0
|
The method call was successful and the returned value represents the width in pixels of the waveform's view
|