02-21-2018 07:15 AM
Hi guys,
I tried to create a UniqueValueLegendEntry with
PAdvLgd.UniqueValueLegendEntry uvle = (PAdvLgd.UniqueValueLegendEntry)MyApp.CreateService("GeoMedia.UniqueValueLegendEntry");
but this error appeared
Unable to create the object
What is the best way to create it?
Thx
John
Solved! Go to Solution.
02-21-2018 07:47 AM
Hi John,
object of type GeoMedia.UniqueValueLegendEntry does not exist. Look at the ThematicClassificationService object for a help on how to create thematic legend entries.
Pavel
02-22-2018 10:06 AM
Hi Pavel,
I just found it in the GeoMedia Object Reference!
So now I have used ThematicClassificationService and made ClassifyLegendEntry method and it made the the classes in the legend entry but it represents 0 number of features bewtween paranthesis
So I have two question; Firstly, What should I do inorder to relate the number of the records in each class with the number of the features?
Secondly, Do I have to make a ThematicClass object inorder to give a style for each legend subentry?
Thanks
John
02-23-2018 06:41 AM
Hi John,
you have basically three options:
After that, you can call the method ClassifyLegendEntry.
Pavel
02-23-2018 12:23 PM - edited 02-25-2018 10:31 PM
Hi Pavel,
Can I classify based on a what character does a cell value starts; I mean to classify every cell that starts with "1" into a single class and classify those starts with "2" in another single class, and so on?
It's something like using the expression "LEFT".
Thx
John