FromString Method

WRAPPER_API bool FromString(const wchar_t *value)

 

Description

The FromString method sets the value of this LinearValue from the string argument.  The format of the string must be indicated with the set_Format method.  For a description of the various supported string formats, click here.

 

Example

void LinearValue_FromString(GeoCalcPBW::ProjectedPoint & pt)

{

pt.get_North().set_Format(L"MGRS");

pt.get_North().FromString(L"17TNE8536028236");

pt.get_East().set_Format(L"MGRS");

pt.get_East().FromString(L"17TNE8536028236");

}