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]
Public Function VerticalLinePositionSet (
nUniqueId as Int32,
nPositionInMs as Int32
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes VerticalLinePositionSet (
Int32 nUniqueId,
Int32 nPositionInMs
);
|
|
[C++]
public: enumErrorCodes VerticalLinePositionSet (
Int32 nUniqueId,
Int32 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.
|
|