BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Powerpoint slides

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Chris Rumbold
Guest





PostPosted: Tue Mar 13, 2007 11:42 pm    Post subject: Powerpoint slides Reply with quote



Hi

Can anyone help me please.

I want to get powerpoint slides into app which will create a Timage array =,
each one containing a powerpoint slide from the selected presentation so
that I can choose which to show from clicking on the Timage.

Thanks

Chris
Back to top
George S
Guest





PostPosted: Fri May 04, 2007 1:35 am    Post subject: Re: Powerpoint slides Reply with quote



This is a cut and paste from a large portion of code, but this should be
close.... This will save slides to a file.


var
lPath: string;
lApplication: PowerPointApplication;
lPresentation: PowerPointPresentation;
lSlide: PowerPointSlide;
i: integer;
sl: _Slide;

begin

for i := 1 to lPresentation.Slides.Count do
begin
// For EACH SLIDE

lSlide:= lPresentation.Slides.Item(i);
lSlide.Export(Format('%s\TestSlide%.2d.jpg', [lPath, i]), '.jpg', 640,
480);
end;




"Chris Rumbold" <docchris (AT) supanet (DOT) com> wrote in message
news:45f6f08f (AT) newsgroups (DOT) borland.com...
Quote:
Hi

Can anyone help me please.

I want to get powerpoint slides into app which will create a Timage array
=, each one containing a powerpoint slide from the selected presentation
so that I can choose which to show from clicking on the Timage.

Thanks

Chris

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.