Im trying to add shape over powerpoint chart in VSTO.
chart.Shapes.AddPicture(imagePath, Office.MsoTriState.msoTrue, Office.MsoTriState.msoTrue, 50, 50, 100f, 100f);
this code throws exception: "Error HRESULT E_FAIL has been returned from a call to a COM component"
I guess im doing something wrong here, kindly guide me.