GetSelection method |
|
Remarks
Retrieves the portion of waveform currently selected through the tracker. The current selection can be removed/modified calling the SetSelection method.
Syntax
[Visual Basic] control.GetSelection ( bSelectionAvailable as enumBoolean, nBeginPosInMs as Long, nEndPosInMs as Long ) as enumWanErrorCodes |
[C++] short control.GetSelection ( long *bSelectionAvailable, long *nBeginPosInMs, long *nEndPosInMs ); |
Parameter |
Description |
||||||
|
|
||||||
bSelectionAvailable |
Reference that, after returning from the method call, will contain the flag for selection availability. Supported values are the following:
|
||||||
nBeginPosInMs |
Reference that, after returning from the method call, will contain the selection's start position, expressed in milliseconds |
||||||
nEndPosInMs |
Reference that, after returning from the method call, will contain the selection's end position, expressed in milliseconds |
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 |