Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.DisplaySegmentInfoGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the name and other information about the given VFD segment.

 

You can verify if the control comes with support for managing VFD segments of the connected DJ Console through the MidiDjConsole.DisplaySegmentManagementAvailable method.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

MidiDjConsole.DisplaySegmentInfoGet (

nIndex as Int32,

ByRef nMidiChannel as Int16,

ByRef nCells as Int16

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.DisplaySegmentCountGet (

Int32 nIndex,

ref Int16 nMidiChannel,

ref Int16 nCells

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.DisplaySegmentCountGet (

Int32 nIndex,

Int16 __gc *nMidiChannel,

Int16 __gc *nCells

);


 

Parameter

Description

 

 

nIndex

Zero-based index of the VFD segment. The maximum number of available segments can be retrieved through the MidiDjConsole.DisplaySegmentCountGet method.

nMidiChannel

Reference that, on return from the method call, will contain the MIDI channel used to access the proper VFD when sending MIDI commands.

The value of this parameter strictly depends upon the model of the DJ Console in use.

nCells

Reference that, on return from the method call, will contain the number of cells (characters) available inside the given segment.

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred (see the LastError property for further error details)

Valid string

String containing the name of the VFD segment.