Copyright © 2008-2019 MultiMedia Soft

WaveformAnalyzer.ZoomToSelection method

Previous pageReturn to chapter overviewNext page

Remarks

 

If a waveform's selection is available, zooms its contents.

 

After a call to this method the control will fire the WaveAnalyzerDisplayRangeChange event.

 

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.WaveformAnalyzer.ZoomToSelection (

bRemoveSelectionAfterZoom as enumBoolean

) as enumErrorCodes


 

[C++]

short control.WaveformAnalyzer.ZoomToSelection (

short bRemoveSelectionAfterZoom

);


 

Parameter

Description

 

 

bRemoveSelectionAfterZoom

Tells to remove the actual selection, if any, after the zoom operation.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Leaves the current selection after zooming.

BOOL_TRUE

Removes the current selection after zooming.

 

 

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