Copyright © 2011-2023 MultiMedia Soft

TracksBoard.VerticalLineUniqueIdGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the unique identification number of a specific vertical line.

 

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 VerticalLineUniqueIdGet (

nType as enumGraphicItemType,

nIndex as Int16,

ByRef nUniqueId as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes VerticalLineUniqueIdGet (

enumGraphicItemType nType,

Int16 nIndex,

ref Int32 nUniqueId

);


 

[C++]

public: enumErrorCodes VerticalLineUniqueIdGet (

enumGraphicItemType nType,

Int16 nIndex,

Int32 __gc *nUniqueId

);


 

 

Parameter

Description

 

 

nIndex

Zero-based index of the vertical line. The total number of available vertical lines can be obtained through the TracksBoard.VerticalLinesCountGet method.

It's important to note that, after eventually removing a vertical line through the TracksBoard.VerticalLineRemove method, you will have to perform a new call to the TracksBoard.VerticalLinesCountGet in order to have an update enumeration of vertical lines and in order to avoid misalignments of the zero-based index.

nUniqueId

Reference that, on return from the method call, will contain the unique identification number of the given vertical line.

 

 

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.