Need a smalll change in the vb.net code to merge image into powerpoint slide

Hello,
I have a code which works
    objShape = ppPrsn.Slides(1).Shapes.AddPicture("Selectel.png", False, True, 0, 0, 300, 500)

Open in new window


Need to change the path to bitmap image. As the image is extracted from database in vb.net
So,do not have a filepath.

Thanks
RIASAsked:
Who is Participating?
 
Neil FlemingConnect With a Mentor Independent consultantCommented:
I don't think you can use "AddPicture" without a filename.

So you may need to copy the image to the clipboard and use "Shapes.Paste" , or export the image to a temporary filename.
0
 
RIASAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.