documentBuilder.WithDateSigned is not available
Wednesday, April 17, 2024 at 04:38pmWhen I am running my code there is point where I am assigning the X and Y position to the signers, using documentBuilder.WithSignature, but next to the signatures there is a date field that has to be updated automatically, and I am trying to use documentBuilder.WithDateSigned but it does not exists. What is the alternative for writing the date automatically when signer sign?
Reply to: documentBuilder.WithDateSigned is not available
Thursday, April 25, 2024 at 11:30pmI found a way to do it. I am running a "for" statement, for each TAB, inside a foreach loop for every signer. When signing the document the date comes up automatically to the right of the signature by Xoffset points.
documentBuilder.WithSignature(SignatureBuilder.SignatureFor(signer.Email)
.OnPage(int.Parse(signatureDetails[i].PageNumber)) .AtPosition(int.Parse(signatureDetails[i].XPosition), int.Parse(signatureDetails[i].YPosition)) .WithStyle(signatureDetails[i].SignatureStyle)
.WithField(FieldBuilder.SignatureDate()
.AtPosition(int.Parse(signatureDetails[i].XPosition) + signatureDetails[i].XOffset, int.Parse(signatureDetails[i].YPosition) + signatureDetails[i].YOffset)
.OnPage(int.Parse(signatureDetails[i].PageNumber))
.WithFontSize(10)));
Reply to: documentBuilder.WithDateSigned is not available
Monday, April 22, 2024 at 07:25amLet me rephrase my question: How do I enter only a date on a field after the signer signs, using X and Y positions. See attachment.