Search code examples
c#vbapowerpoint

Naming Slide Images on Export in PowerPoint 2007


Presentation.Export(filename, "PNG", sizeX, sizeY); creates thumbnail images of all slides in the PowerPoint presentation.

My problem is that the thumbnail filenames change according to the Language of PowerPoint. On an English PowerPoint, the thumbnail files are: "slide1.png", "slide2.png", etc. On Hebrew PowerPoint: שקופית1.png, שקופית2.png, etc.

How can I control the name of each slide on export to PNG?


Solution

  • If you want to control the name of the exported slides, use the Slide.Export method instead with a loop.