I am trying to add the image (picture frame). The width or height of this picture frame I am changing as per my requirement to make the picture frame of the same size as my user want.
IPictureFrame coBrand = slide.getShapes().addPictureFrame(5, 1.0F, 1.0F, image.getWidth(), image.getHeight(), image);
Using these lines of code, as a result, it’s not showing expected output. Only the width is changed but according to that the height not changed which resulting bad user experience can you please suggest other alternative options for this or where I am doing wrong.