I am making an C# application from I create powerpoint presentations. I wish to apply theme to my presentation programatically. I have got the theme list using the following code. But how could I get to apply them on an active presentation?
String programfilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
String msOfficePath = "Microsoft Office\\Document Themes 14";
String fullPath = Path.Combine(programfilesPath, msOfficePath);
String[] fileEntries = Directory.GetFiles(fullPath, "*.thmx", SearchOption.TopDirectoryOnly);
Any idea how to proceed?
I just found a few good examples:
When combining those two guides it all comes to this