Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
WaveformAnalyzer.ZoomToSelection method 
 
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 class section. 
 
 
Syntax 
 
[Visual Basic] 
Public Function ZoomToSelection ( 
bRemoveSelectionAfterZoom as Boolean 
 
[C#] 
public enumErrorCodes ZoomToSelection ( 
bool bRemoveSelectionAfterZoom 
);
 
[C++] 
public: enumErrorCodes ZoomToSelection ( 
bool bRemoveSelectionAfterZoom 
);
 
 
Parameter
Description
 
 
bRemoveSelectionAfterZoom
Tells to remove the actual selection, if any, after the zoom operation. 
Supported values are the following: 
Value
Meaning
false
Leaves the current selection after zooming.
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.NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents