Pictures Examples

Could you please provide examples of how to work with pictures in a picture frame

in asp.net (vb)

i need this urgently for monday morning.

Thank you.

Dear JTaylor,


' Add new picture

Dim picid As Integer = pres.Pictures.Add(New Picture(pres, "WaterDrops.jpg"))

' Assign new picture to all PictureFrames of the first slide

Dim i As Integer

For i = 0 To pres.Slides(0).Shapes.Count - 1

If TypeOf pres.Slides(0).Shapes(i) Is PictureFrame Then

(CType(pres.Slides(0).Shapes(i), PictureFrame)).PictureId = picid

End If

Next




Could you write your requirements? I'd write more detailed example specialy for your task.

Hi

First thanks for this example. This is nearly exactly what i needed.

Here is a more detailed example of what i need to do:

I have emailed you before the templates i am using.

in the Country.ppt i have six slides which have two picture frames on.

i need to add the new pictures into these picture frames.


ps. Is there also a way to delete a slide?