GetCategoricalMap
Retrieves categorical map from DataObject.
CategoricalMap GetCategoricalMap( )
Return the categorical map of the DataObjectBase object.
EX1
//set the column 1 as Categorical and worksheet Column Numnber is 3. void DataObjectBase_GetCategoricaMap_ex1() { Worksheet wks = Project.ActiveLayer(); Dataset ds1(wks,1); Dataset ds2(wks,2); ds1.Data(1,20,1); ds2.Normal(20); if(wks) { Column col(wks, 0); if( col ) { CategoricalMap cm = col.GetCategoricalMap(); if( cm ) int nCatValue = cm.LookUp("key1"); } } }
origin.h