Background color or watermark

I’ve just downloaded your Aspose.PowerPoint evaluation. We hope to use it to modify some PowerPoint files by changing the slide background colors on all slides to a particular color or put some type of marking on each slide to indicate the slide show is a preliminary version, then change the color back to the original or remove the marking when the document is release. How can I do something like this with your package. I’ve tried setting something like

slides(i).Background.FillFormat.Type = FillType.Solid

slides(i).Background.FillFormat.BackColor = System.Drawing.Color.LightGreen

for each slide. But when I write the results to a new file, it looks the same as the original (which has white backgrounds). I’m sure I just don’t understand how to use you product yet, but if you could give me an example that will accomplish this I’ll plan on using the Aspose software in our project.

Thanks for any help.

To change background of a slide you should:

  1. Set Slide.FollowMasterBackground property to false .

  2. Set FillFormat properties.

slides(i).Background.FillFormat.Type = FillType.Solid
slides(i).Background.FillFormat.ForeColor = System.Drawing.Color.LightGreen

You should use ForeColor for Solid fill type.
Please check Programmer’s Guide for details.