The thing is, it only reports the signatures that have already been signed. Is there a way to get information about unsigned signature blocks in a document?
e.g If I have a word document that has four signature blocks in it and one person has signed his part and the other users have not yet inserted their signature, I can use Aspose.words to know who signed it, what I am looking for is how do I use Aspose to find out that there are unsigned signature blocks in the document?
Thanks for your query. Unfortunately,
Aspose.Words does not support the requested feature at the moment. However, I have logged this feature request as WORDSNET-6851 in our issue tracking system. You will be notified via this forum thread once this feature is available.
@kirkmartin You can use the following code to check whether signature lines in the document are signed or not:
Document doc = new Document("C:\\Temp\\in.docx");
// Get signature lines in the document.
List<SignatureLine> signatureLines = doc.GetChildNodes(NodeType.Shape, true).Cast<Shape>()
.Where(s => s.SignatureLine != null).Select(s => s.SignatureLine).ToList();
// check whether signature lines are signed or not.
foreach (SignatureLine signatureLine in signatureLines)
Console.WriteLine(signatureLine.IsSigned);