Copyright © 2013-2014 MultiMedia Soft

MidiDjConsole.ProfileSaveWithoutDevice method

Previous pageReturn to chapter overviewNext page

Remarks

 

Saves a DJ Console profile into a XML file for later usage. A saved profile can be reloaded at a later time through the MidiDjConsole.ProfileLoad method.

 

Differently from the MidiDjConsole.ProfileSave method, which requires the specific DJ Console to be physically connected to the system and to the instance of the component, this method can be used while working "offline".

 

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

strPathname as String,

bStoreHexValues as Boolean

) as enumDjcErrorCodes


 

[C#]

public enumDjcErrorCodes MidiDjConsole.ProfileSaveWithoutDevice (

string strPathname,

bool bStoreHexValues

);


 

[C++]

public: enumDjcErrorCodes MidiDjConsole.ProfileSaveWithoutDevice (

string strPathname,

bool bStoreHexValues

);


 

Parameter

Description

 

 

strPathname

String representing the absolute pathname of the destination XML file to save.

bStoreHexValues

Boolean value that specifies if the numerical values of the various profile's items are stored inside the file as decimal or hexadecimal values..

Supported values are the following:

Mnemonic constant

Value

Meaning

BOOL_FALSE

0

Numerical values are stored in decimal format.

BOOL_TRUE

1

Numerical values are stored in hexadecimal format with the "0x" prefix.

 

 

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.