Paste() to slide in c# application

G

GS80

Hi all,

Quick question.

When using Powerpoint through the application, i can get content from a word
docuemtn and paste it directly onto a slide in a presentation. I want to be
able to do this via the PowerPoint object model. At present all i can manage
is to add a new text box and paste to that. The problem i have is that the
new textbox alters the formatting of the text when it gets pasted. Can anyone
suggest how i might go about this so's to keep the formatting that the copied
content has.

Thanks in advance,

G
 
D

David M. Marcovitz

Starting in PowerPoint 2003 (I think that is the correct version),
PasteSpecial was made available so you should be able to use that in
your code if you don't need compatibility with earlier versions.
--David
 

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