Setting Color Scheme on Presentation

Hi,

How can I set the ColorScheme on a Presentation (or MasterSlide)?
Generally I am not finding much information regarding themes in Aspose.Slides - could you point me in the right direction?

I have successfully been able to set the Fonts on the
slides.MasterTheme.AsITheme.FontScheme.Major.LatinFont = new FontData(“Arial”);
slides.MasterTheme.AsITheme.FontScheme.Minor.LatinFont = new FontData(“Times New Roman”);

how do I set the colors that the users can choose (Accent1- Accent6) which are available via slides.MasterTheme.AsITheme.ColorScheme, but read-only.
I have also tried using OverwriteTheme, but I don’t think it works for Master Slides.

Thanks,
Alex

Hi Alex,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to share with you that during our initial investigations, it appears to be a missing feature. A ticket with ID SLIDESNET-37247 has been logged into our issue management system for further investigation and resolution. This thread has been linked with the issue so that you may be notified automatically as soon as the issue will be fixed.

Best Regards,

Hi Alex,


I would like to request you to please try using following sample code on your side and then share your kind feedback with us. I have also attached the presentation file for your kind reference.

using (var pres = new Presentation(“test_colors.pptx”))
{
    pres.MasterTheme.AsITheme.ColorScheme.Dark1.Color = Color.Red;
    pres.Save(“test_colors-out.pptx”, SaveFormat.Pptx);
}

I hope this will be helpful. Please share if I may help you further in this regard.

Best Regards,

Hi Adnan!


Yes, thanks the code works for all colors (light, dark and accents).

Thanks for your help,
Alex

Hi Alex,


Thank you for your valuable feedback.

We are glad to know that your issue is resolved and things have started working on your end.

Please feel free to contact us if we can be of any help to you.

Best Regards,

The issues you have found earlier (filed as SLIDESNET-37247) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.