Remarks
Sets the new position of the given vertical line. The current position can be obtained through the TracksBoard.VerticalLinePositionGet method.
For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.
For further details about methods of the TracksBoard refer to the TracksBoard object section.
Syntax
[Visual Basic]
control.TracksBoard.VerticalLinePositionSet (
nUniqueId as Long,
nPositionInMs as Long
) as enumErrorCodes
|
|
[C++]
short control.TracksBoard.VerticalLinePositionSet (
long nUniqueId,
long nPositionInMs
);
|
|
Parameter
|
Description
|
|
|
nUniqueId
|
Unique identification number assigned to the vertical line by the TracksBoard.VerticalLineAdd method
|
nPositionInMs
|
The new position of the vertical line expressed in milliseconds.
The call to this method fails if the specified position is less than 0
|
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.
|
|