Any update on 2016?
My code which I insert an image into a Word docx file works fine in Word 2013 but not in 2016.
Anybody has any suggestion?
Thanks.
My code which I insert an image into a Word docx file works fine in Word 2013 but not in 2016.
Word.Range rangeInitial = wordDoc.Application.Selection.Range;
Object ol = false;
Object os = true;
Object or = rangeInitial;
Word.InlineShapes inlineShapes = rangeInitial.InlineShapes;
Word.InlineShape inlineShape = inlineShapes.AddPicture(sStampFile, ol, os, or);
There is no response nor error when the code is executed.Anybody has any suggestion?
Thanks.