We're looking at is downloading the combined pdf and then extracting the individual documents ( not my idea ). I tried using pdfsharp against my combined pdf, but I don't see any title information on the individual documents. I was just wondering if this is even possible. If I use pdfsharp, it can pull out all the pages, but I have no way of really knowing which pages belong with with document.
标签:
docusignapi
相关问题
- listStatusChanges api gives error after passing mo
- Mix and match templates with documents
- Docusign: Creating a Document with dynamic content
- Preview tags with docusign API
- Checkbox validation using Docusign REST API
相关文章
- Docusign return parameters in embedded signing by
- Retrieving information from a signed document Docu
- Programmatically signing a document
- docusign send on behalf functionality
- Filtering Envelopes based on a type
- “Bad Request” message in JWT OAuth authentication
- Docusign - API to reactivate a closed user
- Not able to pass in values to docusign template
After you create a DocuSign envelope you can read the document information from the envelope and remember the page counts for each document. This should also work if you are using Templates.
You can use the EnvelopeDocuments: list API to get the document information, which includes pages for each doc. Then when you need to extract the individual documents from the combined PDF you'll know where to separate the individual docs.
Here's a sample API response for the list documents call:
The getEnvelopeDocuments api has an option to download all the documents in an envelope as a zip file. You can just unzip the file and get individual documents.
Here is a sample code to download zip file and unzip it using the Docusign C# SDK.
Full Example here.
Edit(By Kathy-Lori)
For some reason, I had a problem casting the Stream to a FileStream object. What I did instead was the following: