can someone help me out? I'm trying to insert pictures into powerpoint using this code:
PPT.Shape sheetShape = slides[slideIndex].Shapes[shapeName];
...
slides[slideIndex].Shapes.AddPicture(fileName, MsoTriState.msoFalse, MsoTriState.msoTrue, sheetShape.Left, sheetShape.Top, sheetShape.Height, sheetShape.Width);
my problem is, that it shifts the inserted picture like: https://i.stack.imgur.com/3thlS.png
So both have the same position but not really. What am I doing wrong?
Thank you.