G
GPTIX
I am trying to add an image to a slide inside a JScript script.
The variable mySlide holds the slide on which I have decided to insert a picture. The image I want to add is the file c:\Sample.jpg.
I have tried the following code:
ppSlide.Shapes.AddPicture("c:\Sample.jpg", msoFalse, msoFalse, 233, 175, 255, 191);
This causes an error dialog to appear:
ERROR: -2147024809: The specified value is out of range.
Any ideas?
Best,
G Taylor
The variable mySlide holds the slide on which I have decided to insert a picture. The image I want to add is the file c:\Sample.jpg.
I have tried the following code:
ppSlide.Shapes.AddPicture("c:\Sample.jpg", msoFalse, msoFalse, 233, 175, 255, 191);
This causes an error dialog to appear:
ERROR: -2147024809: The specified value is out of range.
Any ideas?
Best,
G Taylor