RemoveObject

WRAPPER_API bool RemoveObject(const DisplayObject& child);

 

Description

Remove the object from the view.

Example

void DataView_RemoveFolder(GEOCALCPBW_NAMESPACE::DataView & dataView)

{

DisplayObject thisObject(L"DEGREES", GEOCALCPBW_NAMESPACE::GeoBase::AngularUnitType, 100, false);

if (!m_DataView->RemoveObject(thisObject))

{

AfxMessageBox("RemoveObject failed");

}

}