We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Slide background color not being set

I have the following code in Java that should set up the slide background color to blue.

slide.getBackGround().getFillFormat().setType( FillType.SOLID);

slide.getBackGround().getFillFormat().setForeColor( color.BLUE);

The slide colour does not change can you tell me if the above is correct.

PS I still have the red evaluation labals appearing on my slides as i haven't set up the license properly could this be stopping the background color being set


The above code is correct but you forgot one more line:


Thanks thats working now