set_InUnits Method

WRAPPER_API void set_InUnits(double value)

 

Description

The set_InUnits method sets the value of this LinearValue to match the double value argument, which is assumed to be given in the LinearUnit defined by the Units property..

 

Example

void LinearValue_setInUnits(GeoCalcPBW::DataSource & data)

{

GeoCalcPBW::LinearValue * lv = GeoCalcPBW::LinearValue::CreateLinearValue();

GeoCalcPBW::LinearUnit * lu = data.GetLinearUnit(L"BMG", L"PERCH");

lv->set_Units(*lu);

lv->set_InUnits(43);

lv->set_Label(L"Northing");

delete lv;

delete lu;

}