Free Support Forum - aspose.com

getBackColor()

Hi I encounter problem getting background color from the slide (Java).
slide.getBackground().getFillFormat().getBackColor();

I even tried to setBackColor and then get it back. It always throws exception:

Exception in thread “AWT-EventQueue-0” java.lang.IllegalArgumentException: Color parameter outside of expected range: Alpha
at java.awt.Color.testColorValueRange(Unknown Source)
at java.awt.Color.(Unknown Source)
at com.aspose.powerpoint.FillFormat.getBackColor(SourceFile:490)


Am I doing something wrong ?

Dear Mironia,

Probably you use old version. It was fixed in Aspose.PowerPoint for Java 1.1.6.