setValueFromString

setValueFromString — sets the point data to the value represented by a string.

Synopsis

For C++:
void setValueFromString(svalue); 
LPCTSTR svalue;
 
void setValueFromString(svalue,  
 itype); 
LPCTSTR svalue;
int itype;
 
For Java, and C#:
void setValueFromString(svalue); 
String svalue;
 
void setValueFromString(svalue,  
 itype); 
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.