Find Signature Line object in c# RRS feed

  • Question

  • I am working on word add in (VSTO).

    I want to find existing signatureline in c#, then sign that signature line.

    But i did not find any code for that.

    i have tried below code, but it did not worked.

                    Microsoft.Office.Interop.Word.Application wordApp = Globals.ThisAddIn.Application;
                    Microsoft.Office.Interop.Word.Document doc = wordApp.ActiveDocument;

                    foreach (var item in doc.InlineShapes)
                        var test = item as Microsoft.Office.Core.Signature;
                        var test2 = (Microsoft.Office.Core.Signature)item;

    Wednesday, September 16, 2020 10:06 AM