Operates saving and loading of CG configurations.
Methods
LoadFromXML
gets a property value.
Syntax
LoadFromXML(
string _bsXMLDescOrFile,
int _nLength
)
Parameters
_bsXMLDescOrFile - file name or string with configuration
_nLength - for a string you can specify the maximum length, if the length is less or equal zero, the whole string used
SaveToXMLFile
saves a configuration to a file.
Syntax
SaveToXMLFile(
string _bsFileName,
int _bUnicode
)
Parameters
_bsFileName - file name
_bUnicode - indicates whether output file is in Unicode
SaveToXMLFileParam
saves a configuration to a file with additional parameters.
Syntax
SaveToXMLFileParam(
string _bsFileName,
int _bUnicode,
string _bsAdditionParam
)
Parameters
_bsFileName - file name
_bUnicode - idicates whether output file is in Unicode
_bsAdditionParam - additional parameters
SaveToXMLString
saves configuration to a string.
Syntax
SaveToXMLString(
out string _pbsXMLDesc,
int _nTabs
)
Parameters
_pbsXMLDesc - output configuration
_nTabs - indicates whether string is tabulated or not. Possible values: "-1" to get not-formatted string, "1" to get XML-formatted string
SaveToXMLStringParam
saves configuration to a string with additional parameters.
Syntax
SaveToXMLStringParam(
out string _pbsXMLDesc,
int _nTabs,
string _bsAdditionParam
)
Parameters
_pbsXMLDesc - output configuration
_nTabs - indicates whether string is tabulated or not. Possible values: "-1" to get not-formatted string, "1" to get XML-formatted string.
_bsAdditionParam - additional parameters