HamnaIshaq's avatar
HamnaIshaq
Iron Contributor
Mar 27, 2025
Status:
New

Export a PowerPoint slide (exportAsBase64)

We are modernizing our PowerPoint VBA add-in to Office.js. In our VBA add-in, we are able to search through all the slides in a file, export each slide as a separate file and put the resultant files in a temporary directory. This enables the user to see how much data is contained on each individual slide.

We have explored the https://learn.microsoft.com/en-us/javascript/api/powerpoint/powerpoint.slide?view=powerpoint-js-preview#powerpoint-powerpoint-slide-exportasbase64-member(1) preview feature and it meets our needs. We would like for this preview feature to be kept and moved to production.

1 Comment

  • JamieGarroch's avatar
    JamieGarroch
    Copper Contributor

    This is a welcome addition but it misses some content types associated with the slide such as tags. I also wonder if there is a need to have an option to retain all of the masters in the source file when exporting. It currently only retains the master for the current slide.