开发者

Create pdf file in Asp.net

开发者 https://www.devze.com 2023-01-07 14:35 出处:网络
string s=\" Name nnnn Age dd </tr> </table>\" I开发者_JS百科 need to convert this string to a pdf file.Can anybody help me for doing this?iTextSharp - Introducing Tables

string s=" Name nnnn Age dd

             </tr>
          </table>"

I开发者_JS百科 need to convert this string to a pdf file.Can anybody help me for doing this?


iTextSharp - Introducing Tables

The .NET framework does not contain any native way to work with PDF files. So, if you want to generate or work with PDF files as part of your ASP.NET web application, you will have to rely on one of the many third party components that are available. Google will help you to find one that fits your budget, as well as a range of open-source free components. One of the free components is iTextSharp, which is a port of a well known Java utility, iText.

Tables will probably be one of the most used elements in PDFs generated from ASP.NET applications to provide the structure for documents such as orders and invoices. This overview is not an exhaustive examination of tables, but provides an introduction to working with them through iTextSharp


I think a better option is:

http://www.pdfsharp.net/MainPage.ashx

One thing to note, for completeness, is that it's not obvious how to "complete" pdf forms...

This link:

PDFSharp.Net Filling Form Fields on an existing PDF

Has that imporant tidbit squirreled away... search for starscream74's post & amirtofighi's follow-up for the details/sample.

0

精彩评论

暂无评论...
验证码 换一张
取 消