SignatureSet signatureSet = doc.Signatures; object sigID = Guid.NewGuid(); signatureSet.ShowSignaturesPane = false; // This line opens that dialog. Signature signature = wordApp.ActiveDocument.Signatures.AddSignatureLine(sigID); //Signature signature = signatureSet.AddSignatureLine(sigID); signature.Setup.SuggestedSigner = "docSigner"; signature.Setup.SuggestedSignerEmail = "abc@xyz.com"; signature.Setup.ShowSignDate = true; signature.Sign();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)