Thank you Nicholas,
I found code under
http://devhawk.net/default.aspx?date=2004-03-10
the author opens the file in powerpoint in fullscreen mode and than produces
screenshots per slide. This is indeed not what I want since you can't use
the maschine while doing this.
Another Variant is
PowerPoint.ApplicationClass pptApp = new PowerPoint.ApplicationClass();
pptApp.Activate();
Office.MsoTriState obj = Office.MsoTriState.msoTrue;
PowerPoint.Presentation pp = pptApp.Presentations.Open("path of your
presentation",obj,obj,obj);
PowerPoint.SlideShowWindow slideShow = pp.SlideShowSettings.Run();
Maybe I could call the "save as web pages". Anyway I use Powerpoint itself
to get my Bitmaps.
Going through the object model means extracting properties of shapes and
then Render it anyway. Is this what you ment? Or is there something like a
Slide.ExtractToImage() Method. Where can I find the documentation of the
object model?
http://msdn.microsoft.com/library/de...pptocOMMap.asp
seems like the OM of the Powerpoint Application itself rather than of the
Document.
Sascha
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP09.phx.gbl...
Sascha,
I would think that the powerpoint file format is something that is not
a publically known format, and because of that, would recommend going
through the object model that you found. If you have a piece of code that shows
how to do it, then we can probably show you how to do it in .NET.
And yes, you will have to use the Microsoft Power Point 9.0 Object
Library.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Sascha Kerschhofer" <sk**********@yahoo.antispam.de> wrote in message
news:ch**********@news.mch.sbs.de... Hello everyone,
does somebody knows how I can extract Bitmaps from a Powerpoint file
(one per slide)? I found some ressources which opens Powerpoint as
application and controls it programmatically. But I am looking for a way to do this
without the help of Powerpoint itself. Would I need a kind of a
rendering engine for this file format? Or are kind of "thumbnails" embeded inside
if such a file?
Will the "Microsoft Power Point 9.0 Object Library" help me or what is
it usefull for?
Thank you for any advice.
Sascha