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.
Syntax
[Visual Basic] Public Function ZoomToSelection ( bRemoveSelectionAfterZoom as Boolean ) as enumWanErrorCodes |
[C#] public enumWanErrorCodes ZoomToSelection ( bool bRemoveSelectionAfterZoom ); |
[C++] public: enumWanErrorCodes ZoomToSelection ( bool bRemoveSelectionAfterZoom ); |
Parameter |
Description |
||||||
|
|
||||||
bRemoveSelectionAfterZoom |
Tells to remove the actual selection, if any, after the zoom operation. Supported values are the following:
|
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumWanErrorCodes.ERR_WAN_NOERROR (0) |
The method call was successful |