Hi Team
I have a requirement where in I am trying to set the color for the Datalabels and legends and I have only the name of the color (eg; black) but its giving null value since the setColor method is expecting Hexa value. Is there any Utils or methods in aspose slides which I can use to get the awt color if I provide the name as param?
Unfortunately, I was unable to understand the problem. Could you please share a sample presentation and the simplest comprehensive code example that demonstrates the issue?
I am trying to set the SolidFillColor for the portionFormat , but i have only the name of the color (eg:black).Aspose slide is expecting java awt color object, do you have any Aspose slide utils which will give me awt color if i pass in the name of the color?
In aspose cells we have - com.aspose.cells.Color.a , where in if we pass the name it gives the aspose cells color object , which we can directly set , Do you have something similar for slides?
@mrajgopal.22,
It looks like the com.aspose.cells.Color class does not have a public method instead of the obfuscated com.aspose.cells.Color.a to do this.