Extraction and SignatureDate
Tuesday, June 21, 2016 at 10:01amHi, I'm trying to have my signature field and the date extracted from my PDF document. It works wonders for the signature field and for the textfield (not in the code below) but it does not work for the SignatureDate Field
DocumentPackage package = PackageBuilder.NewPackageNamed("Field extraction example")
.WithSigner(SignerBuilder.NewSignerWithEmail(myemail)
.WithFirstName(myFirstName)
.WithLastName(myLastName))
.WithDocument(DocumentBuilder.NewDocumentNamed("My Document")
.FromFile(myFilePath)
.EnableExtraction()
.WithSignature(SignatureBuilder.SignatureFor(myemail)
.WithName("SignProp3_3")
.WithPositionExtracted()
.WithField(FieldBuilder.SignatureDate()
.WithName("Date3_3")
.WithPositionExtracted())))
.Build();
PackageId id = Client.Instance.CreatePackage(package);
Client.Instance.SendPackage(id);
The date works fine if i try to position it OnPage().AtPosition() but it does not work on extracted field. I have double checked my PDF field name.
What am I missing?
Thank you in advance.
Reply to: Extraction and SignatureDate
Tuesday, June 21, 2016 at 11:18amDocumentPackage package = PackageBuilder.NewPackageNamed("Field extraction example") .WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]") .WithFirstName("John") .WithLastName("Smith") .WithCustomId("Signer1")) .WithDocument(DocumentBuilder.NewDocumentNamed("My Document") .FromFile(@"C:/Users/hhaidary/Desktop/test.pdf") .EnableExtraction()) .Build(); PackageId id = client.CreatePackage(package);The positions and sizes of the signatures and fields in the PDF file will be automatically retained in esignlive. Right now, it doesn't seem to be working using .WithPositionExtracted() method. You can find more information about document extraction and the naming convention here: http://docs.e-signlive.com/mc/content/c_esignlive_integrator_s_guide/sdk/c_managing_documents/extraction.htmReply to: Extraction and SignatureDate
Tuesday, June 21, 2016 at 11:02am