I want to upload any file for e.g. (.txt,.doc,.docx) and want to save it as PDF in the database in MVC.
Loading
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.
Mohamed AbedallahPosted May 4, 2017, 10:26 AM
I answered a similar question in the following post about using LEADTOOLS document converter class:
http://www.c-sharpcorner.com/forums/convert-a-jpgpngtxt-or-any-file-format-to-pdf-using-mvc5
Here is what the answer said:
One of good approaches is to use DocumentConverter class from LEADTOOLS which provides the ability to convert different image and document formats including (JPEG, PNG, TIFF, XLS, DOCX, etc.) to PDF or other formats. Check below link for more details and sample code:
https://www.leadtools.com/help/leadtools/v19m/dh/doxc/documentconverter.html
Rahul PrasadPosted May 9, 2017, 9:38 PM
S PPosted May 4, 2017, 11:32 AM
Nilesh JadavPosted May 3, 2017, 10:36 PM
http://imar.spaanjaars.com/414/storing-uploaded-files-in-a-database-or-in-the-file-system-with-aspnet-20