Hello again,
I'm sorry to write again (let's call it my private thread), but after some experimentation I found out that if I build up the index by:
So, still I'm not sure what objShape.Categories.Generate really does and what the difference between the Options really is. This link: http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#a44a53188d5016c1795c9c46578233f86 and this one: http://www.mapwindow.org/documentation/mapwingis4.9/class_shapefile_categories.html#ad9331a3944335049fed19886df1e5049 gave me not enough Information to get the idea behind (maybe due to my clumpsy English)
Thanks again
I'm sorry to write again (let's call it my private thread), but after some experimentation I found out that if I build up the index by:
objShape.Categories.Generate intIndexField, ctNaturalBreaks, 0
The Code works.So, still I'm not sure what objShape.Categories.Generate really does and what the difference between the Options really is. This link: http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#a44a53188d5016c1795c9c46578233f86 and this one: http://www.mapwindow.org/documentation/mapwingis4.9/class_shapefile_categories.html#ad9331a3944335049fed19886df1e5049 gave me not enough Information to get the idea behind (maybe due to my clumpsy English)
Thanks again