Note: By supplying the optional 6th and 7th parameters you can set the width and height of the inserted image respectively. The 4th and 5th parameters are the distance from the left and top sides of the screen respectively.
The code above will yield the following result: Case 3: Inserting image into a slide with more than one image holder: Case 1: Inserting image into a slide without an image holder:Īs you can see the slide has 2 shapes which are both textboxes.