mapGetValueAt - method of the PmMap object
Description:
Returns a value of selected object property.
Syntax:
Variant mapGetValueAt(String sProp)
Parameters:
sProp | (String) Property name. |
---|
Note:
This method is also functional in
Web panels.
The property value can also be read directly (
value = mMap.property). This method can be used for more general approach - for example the property name can be stored in another variable.
Example:
JavaScriptSelect and copy to clipboard
var mMap = Pm.CreatePmMap();
mMap.mapSetValueAt("Temperature", 85);
var val = mMap.mapGetValueAt("Temperature");
// val contains 85