PowerPoint Design image capturing

A

amohammed

Hi All

I am trying to parse a PoewerPoint presentation as per the Object Model
provided by Microsoft and export everything to an XML file. This XML
file has been further used to Index the presentations accross the
office and to reproduce the presentation as HTML.

I am able to identify and save the charts, images and tables on each
slide from the PowerPoint presentation as images and displaying the
same in HTML. I am even able to save the background of the slides
(either image or a color) as image.

I have coded all the above functionality using Microsoft C# as a Class
Library.

My problem is that...I want to also save the image(s) from the Slide
Design that has been applied to the presentation. As you know this is
available from the PowerPoint menu as Menu -> Format -> Slide Design.

And this mainly has two sets of images applied to the presentation, one
for the First slide and the other for the rest of the slides.

Please let me know how I can save these images also to Disk.

Any assistance on this matter or documentation references that I may
have missed would be extremely useful.

Thanks in advance for any assistance you can provide.
 
S

Steve Rindsberg

My problem is that...I want to also save the image(s) from the Slide
Design that has been applied to the presentation. As you know this is
available from the PowerPoint menu as Menu -> Format -> Slide Design.

And this mainly has two sets of images applied to the presentation, one
for the First slide and the other for the rest of the slides.

Actually, the first slide in a presentation is a Title slide by default, but
needn't be; any other slide in a presentation might be a title slide also.
You need to distinguish title slides from regular slides.

The slide object's .Layout property will tell you whether it's a title or
otherwise.
Please let me know how I can save these images also to Disk.

There may be other ways to do this, but since you already have the code to save
a slide to an image, you could add a new slide based on the master/design you
want to save, assign the slide either the title layout or blank layout, delete
all the shapes on it, then save it to image file. And delete it when you're
done, of course.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top