Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileLoad method

Previous pageReturn to chapter overviewNext page

Remarks

 

Loads a profile, written for a specific model of DJ Console, from a XML file stored on disk into the instance of the component. A XML file can be written manually through a normal text editor or saved through a call to MidiDjConsole.ProfileSave or MidiDjConsole.ProfileSaveWithoutDevice methods.

 

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]

MidiDevices.MidiDjConsole.ProfileLoad (

strPathname as String

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileLoad (

string strPathname

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileLoad (

string strPathname

);


 

Parameter

Description

 

 

strPathname

String representing the absolute pathname of the XML file containing the DJ Console profile to load.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred. Check the LastError property value in order to see the last error.

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The method call was successful.