Copyright © 2001-2023 MultiMedia Soft

TracksBoard.ItemTypeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Clones the given item, eventually keeping all or some of its current settings.

 

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.ItemTypeGet (

nUniqueId as Long,

ByRef nType as enumTracksBoardItemTypes

) as enumErrorCodes


 

[C++]

short control.TracksBoard.ItemTypeGet (

long nUniqueId,

long *nType

);


 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the sound item after being generated by one of the following methods:

TracksBoard.ItemClone when an existing item has been cloned

nType

Reference that, after returning from the method call, will contain the type of item.

Supported values are the following:

Mnemonic value

Value

Meaning

TRACKSBOARD_ITEM_TYPE_SOUNDFILE

0

Sound file item added by a previous call to one between the TracksBoard.ItemSoundFileAdd or TracksBoard.ItemClone methods

TRACKSBOARD_ITEM_TYPE_SOUNDFILE_RAW

1

Sound file item in RAW format added by a previous call to one between the TracksBoard.ItemSoundFileRawAdd or TracksBoard.ItemClone methods

TRACKSBOARD_ITEM_TYPE_TEXT_TO_SPEECH

2

Sound item generated by Text To Speech added by a previous call to one between the TracksBoard.ItemSpeechFromStringAdd or TracksBoard.ItemSpeechFromFileAdd or TracksBoard.ItemClone methods

TRACKSBOARD_ITEM_VERTICAL_LINE

3

Vertical line added by a previous call to the TracksBoard.VerticalLineAdd method

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful