Are Dynamic Background Colours Supported for PowerPoint Presentations?

Just wanted to confirm if setting dynamic colours via HTML code is support for Microsoft PowerPoint. Can do this for Word with no issues, but can’t seem to get this working for PowerPoint.

@Kayleigh

Dynamic background colors via HTML code are not directly supported in Microsoft PowerPoint presentations. Unlike Word, PowerPoint does not have built-in support for dynamic colors defined in HTML.

To achieve a similar effect, you can set the background color programmatically using Aspose.Slides. Below is an example of how to set a solid background color for a slide:

import aspose.slides as slides
import aspose.pydrawing as draw

# Create a new presentation
presentation = slides.Presentation()

# Add a slide
slide = presentation.slides.add_slide(presentation.slide_layouts[5])  # 5 is the index for a blank slide

# Set the background color
slide.background.fill_solid(draw.Color.from_argb(255, 255, 0, 0))  # Red background

# Save the presentation
presentation.save("output.pptx", slides.export.SaveFormat.PPTX)

This code sets a solid red background for the slide. You can modify the Color.from_argb parameters to use different colors as needed.

Brill, thought this might be the case. Thank you for coming back so quickly and confirming :blush:

Sorry! Just want to double check one last thing, if you know. Do you know if the integer value for RGB is also supported for PowerPoint?

Setting Background Color Dynamically in C#|Aspose.Words for .NET

An integer value defining RGB (red, green, blue) components of the color like in the following example.

  <<backColor [0xFFFF00]>>text with yellow background<</backColor>>

@Kayleigh,
I need some time to answer your question. I will get back to you as soon as possible.

@Kayleigh,
Thank you for your patience. Unfortunately, Aspose.Slides does not provide a LINQ Reporting Engine, similar to the one available in Aspose.Words.

We have opened the following new ticket(s) in our internal issue tracking system and will consider implementing this feature according to the terms mentioned in Free Support Policies.

Issue ID(s): SLIDESNET-45120

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.