4
Answers

How To Convert Source Code To PDF ??

Ronak Patel

Ronak Patel

9y
453
1
 Hello Friends,
 
 I have Compile the ASPX Page & Generate the  Output like this..
 
 
 
 1 2 3 4
 5 6 7 8
 
my que is that convert the OutPut to PDF at Run time How ?? Without itextsharp..
Answers (4)
0
Rajeesh Menoth

Rajeesh Menoth

NA 24.7k 629.4k 9y
Hi,
 
You can use "Spire.Pdf".Check the following reference.
 
Example :
 
http://codepedia.info/2015/08/create-pdf-in-asp-net-csharp-spire-net-turn-html-to-pdf/
 
https://rajeeshmenoth.wordpress.com/2015/06/24/convert-pdf-to-other-format-using-spire-pdf/
 
The answer is helpful.Then please accept it..!!
 
0
Aarush Rahaan

Aarush Rahaan

NA 2 0 9y
If you mean you want to convert HTML page to PDF, I found the following links that might help:
https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d#content
http://www.c-sharpcorner.com/forums/how-to-convert-html-to-pdf-in-c-sharp

If this is not what you are trying to do, provide more details about what you want.
0
Vivek Kumar

Vivek Kumar

NA 7.6k 729.7k 9y
Hi Ronak
Please once see my article for your reference. 
 
http://www.c-sharpcorner.com/UploadFile/f4f047/generating-pdf-file-using-C-Sharp/ 
http://www.c-sharpcorner.com/blogs/create-table-in-pdf-using-c-sharp-and-itextsharp 
 
You can set border none as per your requirement if your are using table
 
 
---------------------------------------------------
If this post helps you, mark it as answer
 
0
Suresh M

Suresh M

NA 18.6k 1.5m 9y
You need use any library for creating PDF 
Sample http://csharp.net-informations.com/file/create-pdf.htm