Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
Does anybody can suggest me a good PDF converter. Free would be the best, but cheap option is an option.
I have a page with a link and the link points to another page what I like to convert to PDF when I click on the link.
I have been using SautinSoft's PDF Vision for about 10 years and upgraded to the newest version this spring. I mainly use it to convert HTML Invoices into PDF.
https://www.sautinsoft.com/products/pdf-vision/index.php
My code looks like this:
public string CreatePDF(string url, string fileName) { try { _pdf.Serial = _pdfSerial; fileName = _WorkingDirectory + fileName + ".pdf"; if (File.Exists(fileName)) { File.Delete(fileName); } _pdf.PageStyle.PageMarginLeft.Inch(float.Parse("1.0")); _pdf.PageStyle.PageMarginRight.Inch(float.Parse("1.0")); _pdf.PageStyle.PageMarginTop.Inch(float.Parse("0.5")); _pdf.PageStyle.PageMarginBottom.Inch(float.Parse("0.5")); _pdf.ConvertHtmlFileToPDFFile(url, fileName); return fileName; } catch (Exception ex) { return string.Empty; } }
Thank you for the suggestion, although it seems the generated pdf is an image. In their demo I couldn't select any text. I will think about it.
Is this javascript code that can be embedded in the cshtml page?
No, it does create an actual pdf file.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Page to PDF suggestion
Hi,
Does anybody can suggest me a good PDF converter. Free would be the best, but cheap option is an option.
I have a page with a link and the link points to another page what I like to convert to PDF when I click on the link.
I have been using SautinSoft's PDF Vision for about 10 years and upgraded to the newest version this spring. I mainly use it to convert HTML Invoices into PDF.
https://www.sautinsoft.com/products/pdf-vision/index.php
My code looks like this:
Thank you for the suggestion, although it seems the generated pdf is an image. In their demo I couldn't select any text. I will think about it.
Is this javascript code that can be embedded in the cshtml page?
No, it does create an actual pdf file.
is working on a reply...