Category - iTextSharp
Results 1 - 20 of 44
26 Nov 2022 26 Nov 2022 0 Comments  1477 Views
Here Mudassar Khan has explained with an example, how to export data from database to PDF file in ASP.Net Core Razor Pages.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to PDF file using itext7.pdfhtml library in ASP.Net Core Razor Pages.
26 Nov 2022 26 Nov 2022 0 Comments  2489 Views
Here Mudassar Khan has explained with an example, how to export data from database to PDF file in ASP.Net Core MVC.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to PDF file using itext7.pdfhtml library in ASP.Net Core MVC.
26 Nov 2022 26 Nov 2022 0 Comments  1719 Views
Here Mudassar Khan has explained with an example, how to export data from database to PDF file in ASP.Net MVC Razor.

The data from the database is fetched using Entity Framework and dynamic HTML string is generated using StringBuilder class.

Finally, the generated HTML string will be exported to PDF file using iTextSharp XMLWorkerHelper library in ASP.Net MVC Razor.
26 Nov 2022 26 Nov 2022 0 Comments  1580 Views
Here Mudassar Khan has explained with an example, how to export HTML string to PDF file in ASP.Net Core Razor Pages.

The data from database will be populated in HTML Table using Entity Framework in ASP.Net Core Razor Pages.

Finally, the HTML Table will be exported and downloaded as PDF file using itext7.pdfhtml library in ASP.Net Core Razor Pages.
26 Nov 2022 26 Nov 2022 0 Comments  1381 Views
Here Mudassar Khan has explained with an example, how to export HTML string to PDF file in ASP.Net Core MVC.

The data from database will be populated in HTML Table using Entity Framework in ASP.Net Core MVC.

Finally, the HTML Table will be exported and downloaded as PDF file using itext7.pdfhtml library in ASP.Net Core MVC.
30 Jul 2019 30 Jul 2019 0 Comments  18192 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net MVC Razor.

The Image will be uploaded using FileUpload element and inside the Controller, the Image will be read as Stream and will be added to iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net MVC Razor.
13 Feb 2019 14 Feb 2019 0 Comments  20715 Views
Here Mudassar Ahmed Khan has explained with an example, how to export HTML to PDF in Windows Forms Application using iTextSharp, C# and VB.Net.

First a DataGridView will be populated with some data and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table will be exported and saved as PDF file using iTextSharp and XMLWorkerHelper class in Windows Forms Application with C# and VB.Net.
08 Feb 2019 18 Feb 2019 0 Comments  14052 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView to PDF without using iTextSharp in ASP.Net.

This article will illustrate how to export GridView to PDF using jQuery in ASP.Net.

The GridView’s HTML Table will be first converted into a HTML5 Canvas using html2canvas plugin and then the HTML5 Canvas will be exported to PDF file using the pdfmake plugin in jQuery.
24 Jan 2019 24 Jan 2019 0 Comments  17417 Views
Here Mudassar Ahmed Khan has explained with an example, how to send runtime generated file as Attachment in email in ASP.Net using C# and VB.Net.

This article will illustrate how to attach a runtime generated PDF file as attachment and send email in ASP.Net using C# and VB.Net.
18 Jan 2019 18 Jan 2019 0 Comments  13151 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Charts to PDF in ASP.Net MVC Razor.

This article will illustrate how to export Charts created from Database using Charts Helper class to PDF in ASP.Net MVC Razor.
16 Jan 2019 16 Jan 2019 0 Comments  34039 Views
Here Mudassar Ahmed Khan has explained with an example, how to export (convert) Image to PDF using iTextSharp in ASP.Net with C# and VB.Net.

The Image file will be first uploaded using FileUpload control and saved into a Folder (Directory), then the Image file will be added into the iTextSharp PDF document and ultimately downloaded as PDF file in ASP.Net.
17 Jul 2018 18 Jul 2018 0 Comments  18579 Views
Here Mudassar Ahmed Khan has explained with an example, how to export GridView to PDF with Header Repeated on each Page using iTextSharp in ASP.Net with C# and VB.Net.

When the Export Button is clicked, a loop will be executed over the GridView Pages using PageCount property and GridView records for specific Page will be added to a new page of PDF.

Thus, using this technique each Page of PDF will have records of one Page of GridView with Header.
17 Apr 2018 17 Apr 2018 0 Comments  20789 Views
Here Mudassar Ahmed Khan has explained with an example, how to create PDF in Arabic, Persian (Farsi) and Urdu Language Characters in ASP.Net using C# and VB.Net.
15 Mar 2018 15 Mar 2018 1 Comments  8148 Views
Here Mudassar Ahmed Khan has explained with an example, how to export WebGrid to PDF file with formatting using iTextSharp in ASP.Net MVC Razor.

First the WebGrid will be populated from database using Entity Framework and then the generated HTML Table of WebGrid will be sent as HTML string to the Controller which ultimately will be exported to PDF file in ASP.Net MVC Razor.
14 Mar 2018 14 Mar 2018 1 Comments  27570 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Partial View to PDF file in ASP.Net MVC Razor.

First the Grid (Html Table) will be populated from database using Entity Framework inside the Partial View and then the HTML Table will be sent as HTML string to the Controller which ultimately will be exported to PDF file in ASP.Net MVC Razor.
19 Jul 2017 19 Jul 2017 7 Comments  120055 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the iTextSharp HTML to PDF conversion library in ASP.Net MVC Razor.

First the data will be populated from database using Entity Framework and then the records from the database will be displayed as HTML in ASP.Net MVC Razor.

Then the same HTML will be converted to PDF file using the iTextSharp HTML to PDF conversion library and then later the PDF file is downloaded using iTextSharp XMLWorkerHelper library in ASP.Net MVC Razor.
24 May 2017 24 May 2017 0 Comments  68540 Views
Here Mudassar Ahmed Khan has explained with an example, how to create (generate) PDF file using iTextSharp and then download it in ASP.Net MVC Razor.

First the data will be populated from database using Entity Framework and then the records from the database will be used to create a PDF and then later the PDF file is downloaded using iTextSharp XMLWorkerHelper library in ASP.Net MVC Razor.
21 Dec 2016 21 Dec 2016 0 Comments  100727 Views
Here Mudassar Ahmed Khan has explained with an example, how to export HTML string to PDF file using iTextSharp in ASP.Net with C# and VB.Net.
The HTML string will be exported and downloaded as PDF file using iTextSharp XMLWorkerHelper library in ASP.Net with C# and VB.Net.
20 Dec 2016 20 Dec 2016 0 Comments  24532 Views
Here Mudassar Ahmed Khan has explained with an example, how to export Grid (Html Table) data from database to PDF using iTextSharp file in ASP.Net MVC Razor.
First the Grid (Html Table) will be populated from database using Entity Framework and then the records from the database will be exported and downloaded as PDF file using iTextSharp XMLWorkerHelper library in ASP.Net MVC Razor.
20 Dec 2016 20 Dec 2016 1 Comments  65497 Views
Here Mudassar Ahmed Khan has explained with an example, how to resolve the error iTextSharp.text.html.simpleparser.HTMLWorker is Obselete [Depcrediated] in ASP.Net, C# and VB.Net.
iTextSharp HTMLWorker class is Obsolete or Depreciated means it is not being used now and hence we need to go for the alternative i.e. XMLWorkerHelper class.
Results 1 - 20 of 44