Salman BegRank #284 · 8.8K reputationPosted May 6, 2021, 2:28 AM EDT
+1
See this link,
https://www.aspsnippets.com/Articles/Download-PDF-File-on-Button-Click-using-jQuery.aspx
https://wpscholar.com/blog/automatically-download-pdfs-jquery/
You can use the JavaScript LoadFromUri method provided through the LEADTOOLS toolkit to load a PDF Document that is stored in a remote URL. From here, you can save the document to cache and then pass the DocumentId into the DocumentConverter which will allow you to save the document to PDF locally. The DocumentConverter saving will need to be performed through a backend service such as C#. The sample code and examples in the links will show how to do this:
loadDocument = () => {
const index = this.processedCount;
const loadOptions = new lt.Document.LoadDocumentOptions();
Salman BegRank #284 · 8.8K reputationPosted May 6, 2021, 1:54 AM EDT
dip vyasRank #8,369 · 223 reputationPosted May 6, 2021, 2:16 AM EDT
Sapna GirishRank #1,811 · 819 reputationPosted May 6, 2021, 2:21 AM EDT
Salman BegRank #284 · 8.8K reputationPosted May 6, 2021, 2:28 AM EDT
dip vyasRank #8,369 · 223 reputationPosted May 6, 2021, 3:31 AM EDT
Marvin ReidRank #1,963 · 746 reputationPosted May 10, 2021, 3:17 PM EDT
You can use the JavaScript LoadFromUri method provided through the LEADTOOLS toolkit to load a PDF Document that is stored in a remote URL. From here, you can save the document to cache and then pass the DocumentId into the DocumentConverter which will allow you to save the document to PDF locally. The DocumentConverter saving will need to be performed through a backend service such as C#. The sample code and examples in the links will show how to do this:
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts