How do I save a Slide object in memory stream?

We have a requirement where we need to store each slide in database and we are thinking to store it in binary data format. Any suggestions on how to achieve it?
We can successfully store a complete presentation, can we do that for each Slide?

@NehaKatak,

I have observed your comments. Can you please share what binary format does suit you. Is it png or svg suitable format, or only presentation format (ppt/pptx)?

Best Regards,

Adnan Ahmad

Hi Adnan,

We need the pptx format for slide binary format.

Regards,
Neha

@NehaKatak,

I have observed your requirements and regret to share that there is no mechanism available to save only a slide to memory stream. However, you may try using slide cloning feature to save individual slides to individual presentations and saving them to memory stream. Later on, when you need to make the presentation again, you can access the desired slides (individual presentations) and merge them again using slide cloning feature. Please visit this documentation link to see how to clone slides between presentations.

Many Thanks,

Mudassir Fayyaz

Thanks @mudassir.fayyaz for the reply.

Seems like we will have to change the approach itself.

Regards,
Neha