ThinkGeo.com    |     Documentation    |     Premium Support

GeoColor.GetRandomGeoColor() - v2=>v3

Hello,


I'm looking for the v3 equivalent API for v2's 

GeoColor.GetRandomGeoColor()

Thanks

Patrick.




Patrick,




I am afraid we don’t have that API in V3.0. We have added this to our tracking system, and consider adding it in the next version.


For now you can do it in this way:

Random random = new Random();

GeoColor color = GeoColor.FromArgb(255, random.Next(0, 255), random.Next(0, 255), random.Next(0, 255));


Thanks,

ThinkGeo Support