I want show image in pdf from image url.
I Have image url
I want show image in pdf from image url.
I Have image url
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Laxmidhar SahooPosted Jan 19, 2023, 5:08 PM
Marvin ReidPosted Jan 19, 2023, 4:15 PM
You can add the image from the URL into a PDF using the DocumentEditor. Here is the documentation and code that highlights this.
https://www.leadtools.com/help/sdk/v22/dh/javascript/de/imageengine.html
https://www.leadtools.com/help/sdk/tutorials/html5-js-import-edit-save-documents-with-the-document-editor.html
Vishal YelvePosted Jan 19, 2023, 1:51 PM
Add add these 2 dll in solution.
Itextsharp.dll
itextsharp.pdfa.dll
add namespaces ----
Naimish MakwanaPosted Jan 18, 2023, 5:30 AM
Hello Sandeep,
As @Vishal suggested, we can do it with IronPDF.
Please refer below link which is giving brief use of IronPDF with example:
https://ironpdf.com/blog/using-ironpdf/how-to-add-images-in-pdf-using-csharp/
Thanks
Vishal JoshiPosted Jan 18, 2023, 5:25 AM
Hello Sandeep
Please check IronPDF nuget package.
Ref. https://ironpdf.com/examples/converting-a-url-to-a-pdf/
Thanks