FromString Method

WRAPPER_API bool FromString(const wchar_t *value)

 

Description

The FromString method sets the value of this AngularValue 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 AngularValue_FromString()

{

GeoCalcPBW::AngularValue * av = GeoCalcPBW::AngularValue::CreateAngularValue();

_towchar format("DDdMM");

av->set_Format(format.c_str());

_towchar str("18-3075");

av->FromString(str.c_str());

}