title: Applying powerpoint theme programmatically
body: <p>I am making an <strong>C# application</strong> from I create <strong>powerpoint presentations</strong>. I wish to <strong>apply theme</strong> 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?</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>Any idea how to proceed?</p>