set_Format Method

WRAPPER_API void set_Format(const wchar_t *value)

 

Description

The set_Format method sets the string format used by the FromString and ToString methods.  For a description of the various supported string formats, click here.

 

Example

void AngularValue_setFormat()

{

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

_towchar format("DD MM SS");

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

_towchar str("18 30 15");

av->FromString(str);

}