CommitToFile Method

public void CommitToFile()

 

public void CommitToFile(const BmgChar *fileName)
 

Description

Saves the view to a file.
 

Example

void DataView_CommitToFile(GeoCalc.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()));

}

}