Promotic
WikipediaLinkedInYoutubeTwitterFacebook

mapSaveToString - method of object PmMap

Description:
The method saves the content of the object (property names and values) into a string.
Syntax:
mapSaveToString(sOper As String) As String
Calling:
sString = oMap.mapSaveToString(sOper);
Parameters:
sOper(String) Defines the type of operation - this is not used so far. It is necessary to enter "".
Return Values:
Returns a string in the following form: "Name1:Value1;Name2: ... ;". It is a text in format PmNamedValues.
Note:
The method can also be called in the graphic item events for Web Panels.
See also:
Example:
oMap.Temperature = 85;
oMap.Pressure = 1013.85;
var sRet = oMap.mapSaveToString("");
sRet contains "Temperature:85;Pressure:1013.85;".
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice