简体   繁体   中英

PDF creation in asp.net MVC

I want to develop an asp.net MVC application that will allow the user to create his/her pdf document. i googled many sites and found info to create a single pdf document. In my application whenever user clicks on create PDF link he should be allowed to create a new PDF document. How can I do so?

Okay what you basically trying to achieve here is convert html to pdf.

you have a <div id="myPDFCanvas"></div> and inside that canvas u have text, images blah blah blah all the stuff you need. Then you need to convert this div canvas into pdf.

WkHtmlToXSharp will solve your problem

for a demo check this out

I dont what do you want, if you want to create PDF you can use this library

Scryber PDF Generator is the open source library for quickly creating dynamic PDF documents with style.This project holds the source for the guides and examples

For PDF :-

I think you should use itextSharp . You can go through this link
http://www.codeproject.com/Articles/81118/ITextSharp-Helper-Class
You can download it (.dll) from here
http://sourceforge.net/projects/itextsharp/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM