ThinkGeo.com    |     Documentation    |     Premium Support

GeoColor and AreaStyle

Can I create a custom area styles based on any red, greed, or blue number or am I limited to colors defined as GeoColors?



Peter,


Thanks for your post.


I think you missed 2 important APIsJ.
AreaStyles.CreateSimpleAreaStyle;
GeoColor.FromArgb
 
First one can let you create your own area styles by giving outline color , fill color etc parameters, also, you can create some advanced style by calling CreateHueFamilyLinearGradientAreaStyle etc. The second one give you opportunity to create a color by give alpha, red, green, blue components , also, you can create color by giving html, ole etc.
 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale