GetObjectDisplayName Method

WRAPPER_API void GetObjectDisplayName(const BmgChar * GCCode, ObjectType type, const BmgChar * newName)

 

Description

Retrieves the display name for an object (or an empty string if none has been specified).

 

Example

void DataView_GetObjectDisplayName(GEOCALCPBW_NAMESPACE::DataView & dataView)

{

 

dataView->SetObjectDisplayName(L"DEGREES", GEOCALCPBW_NAMESPACE::GeoBase::AngularUnitType, L"DEGREES DISPLAY");

const BmgChar* dispName = dataView->GetObjectDisplayName(L"DEGREES", GEOCALCPBW_NAMESPACE::GeoBase::AngularUnitType);

}