CommitToFile Method

WRAPPER_API void CommitToFile()

 

WRAPPER_API void CommitToFile(const BmgChar *fileName)
 

Description

Saves the view to a file.
 

Example

void DataView_CommitToFile(GEOCALCPBW_NAMESPACE::DataView & dataView)

{

long folderID = 100;

if (!dataView.RemoveFolder(folderID ))

{

AfxMessageBox("RemoveFolder failed");

}

if(! dataView.CommitToFile())

{

AfxMessageBox(CString("unable to save dataview to ") + CString(_tochar(dataView.get_FileName()).c_str()));

}

}