Add image

Hi


I try add image file to .ppt

Use this code

sld = pres.Slides(0)
Dim img As System.Drawing.Image = DirectCast(New Bitmap(“1-0.jpeg”), System.Drawing.Image)
Dim imgx As IPPImage = pres.Images.AddImage(img)
sld.Shapes.AddPictureFrame(ShapeType.Rectangle, 50, 150, 75, 150, imgx)

but return

Parameter is not valid.

Hi Ruben,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to request you to please visit this documentation link for your kind reference.

Please let us know if the issue persists. We will be happy to assist you further.

Best Regards,