Append to an existing DocumentPackage object
Monday, May 22, 2017 at 04:26amCan you append a DocumentPackage that has been created.
Dim eslClient As New EslClient(apiKey, apiUrl)
Dim fs As FileStream = File.OpenRead(strESignLiveFile)
Dim superDuperPackage As DocumentPackage = PackageBuilder.NewPackageNamed(strContractFileName). _
WithSettings(DocumentPackageSettingsBuilder.NewDocumentPackageSettings().WithInPerson()). _
WithSigner(SignerBuilder.NewSignerWithEmail(strSignerEmail). _
WithFirstName(strSignerNameFirst). _
WithLastName(strSignerNameLast). _
WithCustomId(strAccountID). _
SigningOrder(1)). _
WithSigner(SignerBuilder.NewSignerWithEmail(strSalesEmail). _
WithFirstName(strSalesNameFirst). _
WithLastName(strSalesNameLast). _
SigningOrder(2)). _
WithDocument(DocumentBuilder.NewDocumentNamed(strESignLiveFile).FromStream(fs, DocumentType.PDF). _
WithSignature(SignatureBuilder.CaptureFor(strSignerEmail). _
OnPage(0).AtPosition(65, 850). _
WithSize(260, 20)). _
WithSignature(SignatureBuilder.CaptureFor(strSalesEmail). _
OnPage(0).AtPosition(415, 850). _
WithSize(260, 20)). _
WithSignature(SignatureBuilder.CaptureFor(strSignerEmail). _
OnPage(0).AtPosition(65, 950). _
WithSize(260, 20)). _
WithSignature(SignatureBuilder.InitialsFor(strSignerEmail). _
OnPage(1).AtPosition(635, 825). _
WithSize(75, 50)). _
WithSignature(SignatureBuilder.CaptureFor(strSignerEmail). _
OnPage(2).AtPosition(60, 905). _
WithSize(260, 20)). _
WithSignature(SignatureBuilder.CaptureFor(strSalesEmail). _
OnPage(2).AtPosition(465, 905). _
WithSize(260, 20)) _
). _
Build()
'Append to superDuperPackage here to add another signer signature (CaptureFor(strSignerEmail)) based on an additional page (OnPage(3)) being added to base contract set.
'The pdf already contains the additional page.
Dim packageId As PackageId = eslClient.CreatePackage(superDuperPackage)
eslClient.SendPackage(packageId)
Reply to: Append to an existing DocumentPackage object
Monday, May 22, 2017 at 06:28amReply to: Append to an existing DocumentPackage object
Monday, May 22, 2017 at 07:42amReply to: Append to an existing DocumentPackage object
Monday, May 22, 2017 at 07:57amReply to: Append to an existing DocumentPackage object
Monday, May 22, 2017 at 08:06am