Changing master background color (PPTX)

Please tell me if this is the correct way to change the background of a presentation master:


PresentationEx p = new PresentationEx();
p.Masters[0].Background.FillFormat.FillType = FillTypeEx.Solid;
p.Masters[0].Background.FillFormat.SolidFillColor.Color = Color.Black;
p.Save(“out.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);

This code does not work.

Shaun

Hi Shaun,


Please use the code snippet shared here in your application and hopefully things will work for you.

Many Thanks,