【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.7.1 DataObjectBase::GetCategoricalMap
Contents
Description
Retrieves categorical map from DataObject.
Syntax
CategoricalMap GetCategoricalMap( )
Parameters
Return
Return the categorical map of the DataObjectBase object.
Examples
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"); } } }
Remark
See Also
Header to Include
origin.h