question

MoisejBraver-2710 avatar image
0 Votes"
MoisejBraver-2710 asked Viorel-1 commented

Referece missing for AddShapes2()

I am trying to insert a picture into an excel file without compression and found a method Shapes.AddPicture2() suitable for this case.
However, even after adding the reference to Microsoft Excel 14.0 Object Library the method is not available. only Shapes.AddPicture() appears. Does anybody know, which additional reference or interop version I am missing?


dotnet-csharp
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


Did you try Microsoft.Office.Interop.Excel 15.0.0.0?

1 Vote 1 ·

0 Answers