GetDisplayWidth method |
|
Remarks
Retrieves the actual size, expressed in both milliseconds and pixels, of the display surface used to render the waveform.
Syntax
[Visual Basic] control.GetDisplayWidth ( nWidthInMs as Long, nWidthInPixels as Long ) as enumWanErrorCodes |
[C++] short control.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) |
enumWanErrorCodes.ERR_WAN_NOERROR (0) |
The method call was successful |