Microsoft Interop's ApplyTemplate Alternate Function in Aspose.Slides for .NET

Hi,
One of our module in our application, is using Interop to create a powerpoint file and since we have Aspose.Slides license we are trying to get rid of interop and use aspose.slides.

We came across below line of code in interop, we believe it is trying to apply a default theme/template to an existing presentation or new presentation object. How do we achieve the same using Aspose.slides?

Microsoft.Office.Interop.PowerPoint.Presentation presentation = powerpointApp.Presentations.Add(MsoTriState.msoTrue);
            if (applyTemplateFlag)
                presentation.ApplyTemplate(templateName);

FYI, we found some documentation from Microsoft site for above function.

https://learn.microsoft.com/en-us/previous-versions/office/office-12/ff761593(v=office.12)

https://support.microsoft.com/en-us/office/apply-a-template-to-an-existing-presentation-43f7fc75-db26-433b-8248-9fcd0093006b

Please let us know, How do we achieve the same using Aspose.slides?

Thanks,
Prathap

@PrathapSV,
Thank you for your question.

Unfortunately, I have not found the same feature in Aspose.Slides. I’ve added a ticket with ID SLIDESNET-43555 to our issue-tracking system. Our development team will consider implementing such a feature. You will be notified when a new release of Aspose.Slides with the feature is published.

As a workaround, please consider using theme elements separately: