Copyright © 2006-2019 MultiMedia Soft

WaveformAnalyzer.GetDisplayWidth method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the actual size, expressed in both milliseconds and pixels, of the display surface used to render the waveform.

 

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer object section.

 

Syntax

 

[Visual Basic]

control.WaveformAnalzyer.GetDisplayWidth (

nWidthInMs as Long,

nWidthInPixels as Long

) as enumErrorCodes


 

[C++]

short control.WaveformAnalzyer.GetDisplayWidth (

long *nWidthInMs,

long *nWidthInPixels

);


 

Parameter

Description

 

 

nBeginPosInMs

Reference that, after returning from the method call, will contain the displayed range start position, expressed in milliseconds

nEndPosInMs

Reference that, after returning from the method call, will contain the displayed range end position, expressed in milliseconds

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful