Copyright © 2008-2023 MultiMedia Soft

TracksBoard.VerticalLinesCountGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the total number of vertical lines added to the TracksBoard.

 

It's important to note that, after eventually removing vertical lines 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 when accessing the unique identification number of the vertical line through the TracksBoard.VerticalLineUniqueIdGet 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 VerticalLinesCountGet (

ByRef nCount as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes VerticalLinesCountGet (

ref Int16 nCount

);


 

[C++]

public: enumErrorCodes VerticalLinesCountGet (

Int16 __gc *nCount

);


 

 

Parameter

Description

 

 

nCount

Reference that, on return from the method call, will contain the total number of vertical lines

 

 

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.