SetDataPath Method

WRAPPER_API void SetDataPath(const BmgChar *path)

 

Description

The SetDataPath method allows the user to specify the path to the directory that contains this DataSource's auxiliary files like (.las/.los/.gsb/etc...).

 

Example

void DataSource_getDefaultIssuer(GEOCALCPBW_NAMESPACE::DataSource & data)

{

if(CString(data.GetDataPath()) != "c:\here.xml")

{

data.SetDataPath(_towchar("c:\here.xml").c_str());

}

}