setValueFromString
setValueFromString — sets the point data to the value represented by a string.
Syntax
For C++:
void setValueFromString(
LPCTSTR svalue)
;
void setValueFromString( | LPCTSTR | svalue, |
| int | itype) ; |
For Java, and C#:
void setValueFromString(
String svalue)
;
void setValueFromString( | String | svalue, |
| int | itype) ; |
Parameters
- sValue
A string to be used to set the value.
- itype
The type of the point:
PT_TYPE_STRING,
PT_TYPE_INT32 or
PT_TYPE_REAL.
Description
If the type is specified, then
the string is converted as required. If the type is not specified,
then the method determines whether the string represents an
integer or double value, converting to that type if
possible.