title: Inserting pictures using interop (C#) into powerpoint
body: <p>can someone help me out?
  I'm trying to insert pictures into powerpoint using this code:</p>
  
  <pre><code>PPT.Shape sheetShape = slides[slideIndex].Shapes[shapeName];
  </code></pre>
  
  <p>...</p>
  
  <pre><code>slides[slideIndex].Shapes.AddPicture(fileName, MsoTriState.msoFalse, MsoTriState.msoTrue, sheetShape.Left, sheetShape.Top, sheetShape.Height, sheetShape.Width);
  </code></pre>
  
  <p>my problem is, that it shifts the inserted picture like:
  <a href="https://i.imgur.com/Ia2MVbk.png" rel="nofollow noreferrer">http://i.imgur.com/Ia2MVbk.png</a></p>
  
  <p>So both have the same position but not really.
  What am I doing wrong?</p>
  
  <p>Thank you.</p>