surface.Palette.l1lIllIl1Il


https://www.nevron.com/Forum/Topic12008.aspx
Print Topic | Close Window

By alireza hamedani - 7 Years Ago
Hi Dear
in version 14 with this code i could extract pallet values and colors.
"surface.Palette.l1lIllIl1Il"
but in latest version it's unavailable.
Best Regards
By Nevron Support - 7 Years Ago
Hi Alireza,
That was an obfuscated property/method it may have changed. What was the return value of this property? How exactly did you use it?
By alireza hamedani - 7 Years Ago
Hi
I need extract values and colors of the palette. in version 14 and before i could extract they with this code:

surface.Palette.l1lIllIl1Il

It's in access in chart editor  like the picture but not in code
Best Regards

https://www.nevron.com/forum/uploads/images/83193025-261b-49b4-91e0-211c.jpg

By Nevron Support - 7 Years Ago
Hi Alireza,
This property is actually used in the XML serialization of the control. We'll expose a method called GetEffectiveValueColorPairs
that will allow you to get the color/value pairs of the computed palette.


By Nevron Support - 7 Years Ago
Hi Alireza,
The GetEffectiveValueColorPairs is now present in the latest SP of the control. Let us know if you meet any problems.