Controls element properties without transitions and controls attributes of objects
Methods
AttributesBoolGet
Gets a value of an attribute. This method works only with attributes, whose values are boolean.
Syntax
void AttributesBoolGet(
string _bsName,
out int _pbValue
)
Parameters
_bsName - a name of the attribute
_pbValue - a value of the attribute
AttributesBoolSet
Sets value to attribute. This method works only with attributes, whose values are boolean.
Syntax
void AttributesBoolSet(
string _bsName,
int _bValue
)
Parameters
_bsName - a name of the attribute
_pbValue - a value of the attribute
AttributesClone
Creates a copy of attributes.
Syntax
void AttributesClone(
out IMAttributes _ppClone
)
Parameters
_ppClone - a copy of attributes
AttributesDoubleGet
Gets a value of an attribute. This method works only with attributes, whose values are double.
Syntax
void AttributesDoubleGet(
string _bsName,
out double _pdblValue
)
Parameters
_bsName - a name of the attribute
_pbValue - a value of the attribute
AttributesDoubleSet
Sets value to attribute. This method works only with attributes, whose values are double.
Syntax
void AttributesDoubleSet(
string _bsName,
double _dblValue
)
Parameters
_bsName - a name of the attribute
_pbValue - a value of the attribute
AttributesGetByIndex
Gets an attribute by its index.
Syntax
void AttributesGetByIndex(
int _nIndex,
out string _pbsName,
out string _pbsValue
)
Parameters
_nIndex - an index of the attribute
_pbsName - a name of the attribute
_pbsValue - a value of the attribute
AttributesGetCount
Gets count of attributes.
Syntax
void AttributesGetCount(
out int _pnCount
)
Parameters
_pnCount - a number of attributes
AttributesHave
Indicates whether the attribute exists.
Syntax
void AttributesHave(
string _bsName,
out int _pbHave,
out string _pbsValueOrDefault
)
Parameters
_bsName - a name of the attribute
_pbHave - "0" means that the attribute does not exist. "1" means that the attribute exists.
_pbsValueOrDefault - a value of the attribute if it exists or default value in another case
AttributesInfoGet
Get attribute information (see eMInfoType for details).
Syntax
void AttributesInfoGet(
string _bsName,
eMInfoType _eType,
out string _pbsInfo
)
Parameters
_bsName - a name of the attribute
_eType - a type of attribute information
_pbsInfo - additional information
AttributesInfoGetByIndex
Get attribute information by the index of the attribute.
Syntax
void AttributesInfoGetByIndex(
int _nIndex,
out string _pbsName
)
Parameters
_nIndex - an index of information
_pbsName - the result
AttributesInfoGetCount
Gets the count of attribute information fields.
Syntax
void AttributesInfoGetCount(
out int _pnCount
)
Parameters
_pnCount - a number of information fields
AttributesIntGet
Gets a value of the attribute. This method works only with attributes, whose values are of an integer type.
Syntax
void AttributesIntGet(
string _bsName,
out int _pnValue
)
Parameters
_bsName - a name of the attribute
_pnValue - a value of the attribute
AttributesIntSet
Sets a value of the attribute. This method works only with attributes, whose values are of an integer type.
Syntax
void AttributesIntSet(
string _bsName,
int _pnValue
)
Parameters
_bsName - a name of the attribute
_pnValue - a value of the attribute
AttributesMultipleSet
Sets values to a collection of attributes.
Syntax
void AttributesMultipleSet(
string _bsAttributesList,
eMUpdateType _eUpdateType
)
Parameters
_bsAttributesList - list of attributes with their values
_eUpdateType - type of update
AttributesRemove
Removes an attribute.
Syntax
void AttributesRemove(
string _bsName
)
Parameters
_bsName - a name of the attribute
AttributesRemoveAll
Removes all attributes.
Syntax
void AttributesRemoveAll()
AttributesSave
Saves all attributes to string.
Syntax
void AttributesSave(
out string _pbsAttributesList
)
Parameters
_pbsAttributesList - list of attributes
AttributesSet
Sets multiple attributes.
Syntax
void AttributesSet(
IMAttributes _pAttributesList,
eMUpdateType _eUpdateType
)
Parameters
_pAttributesList - attributes to be set
_eUpdateType - type of update
AttributesStringGet
Gets a value of an attribute. This method works only with attributes, whose values are strings.
Syntax
void AttributesStringGet(
string _bsName,
out string _pbsValue
)
Parameters
_bsName - a name of the attribute
_pbsValue - a value of the attribute
AttributesStringSet
Sets a value of an attribute. This method works only with attributes, whose values are strings.
Syntax
void AttributesStringSet(
string _bsName,
string _pbsValue
)
Parameters
_bsName - a name of the attribute
_pbsValue - a value of the attribute
AttributesValuesInfoGet
Gets information about values of the attribute.
Syntax
void AttributesValuesInfoGet(
string _bsName,
string _bsValue,
string _bsType,
out string _pbsInfo
)
Parameters
_bsName - an attribute name
_bsValue - a value of the attribute
_bsType - a type of the attribute
_pbsInfo - information about the attribute