
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
EVO HTML to PDF Library for .NET can be easily integrated in your applications targeting the .NET Framework to create PDF documents from HTML pages and strings. The library can also be used to convert HTML to images, convert HTML to SVG, create, edit and merge PDF documents. This version of the library is compatible with .NET Framework on Windows 32-bit (x86) and 64-bit (x64) platforms. For .NET Core and .NET Standard applications on Windows you can use the library from EvoPdf.NetCore or EvoPdf.HtmlToPdf.NetCore Nuget package. In any .NET application for Linux, macOS, Windows, Azure App Service, Xamarin, UWP and other platforms you can use the EvoPdf.Client Nuget package. EVO HTML to PDF Library for .NET is compatible with Windows platforms which support .NET Framework 2.0, 4.0 and above, including: * .NET Framework 4.8.1, 4.7.2, 4.6.1, 4.0, 3.5, 2.0 (and above) * Windows 32-bit (x86) and 64-bit (x64) * Azure Cloud Services and Azure Virtual Machines * Web, Console and Desktop applications Main Features: * Create PDF documents from HTML with advanced support for CSS3, SVG, Web Fonts and JavaScript * Automatically create PDF links, forms, bookmarks and table of contents from HTML tags * Place the content from multiple HTML documents at any position in PDF pages, headers or footers * Create JPEG, PNG and Bitmap raster images from HTML documents * Create high quality SVG vector images from HTML documents * Create PDF documents with text, graphics, images, headers and footers * Create PDF documents with security features and digital signatures * Create interactive PDF documents with forms, internal links, text notes and JavaScript actions * Edit, stamp, merge and split PDF documents
EVO HTML to PDF Library for .NET can be easily integrated in your applications targeting the .NET Framework to create PDF documents from HTML pages and strings. The library can also be used to convert HTML to images, convert HTML to SVG, create, edit and merge PDF documents. You can see the http://www.evopdf.com/html-to-pdf-converter.aspx product page for a complete list of library features.
This version of the library is compatible with .NET Framework on Windows 32-bit (x86) and 64-bit (x64) platforms. For .NET Core and .NET Standard applications on Windows you can use the library from EvoPdf.NetCore package published at https://www.nuget.org/packages/EvoPdf.NetCore/ . The same library for .NET Core and .NET Standard is also available in EvoPdf.HtmlToPdf.NetCore package published at https://www.nuget.org/packages/EvoPdf.HtmlToPdf.NetCore/ . In any .NET application for Linux, macOS, Windows, Azure App Service, Xamarin, UWP and other platforms you can use the cross-platform library from EvoPdf.Client package published at https://www.nuget.org/packages/EvoPdf.Client/.
EVO HTML to PDF Library for .NET is compatible with Windows platforms which support .NET Framework 2.0, 4.0 and above, including:
After the reference to library was added to your project you are now ready to start writing code to convert HTML to PDF in your .NET application. You can copy the C# code lines from the section below to create a PDF document from a web page or from a HTML string and save the resulted PDF to a memory buffer for further processing, to a PDF file or to send it to browser for download in ASP.NET applications.
At the top of your C# source file add the 'using EvoPdf;' statement to make available the EVO HTML to PDF API for your .NET application.
// add this using statement at the top of your C# file
using EvoPdf;
To convert a HTML string or an URL to a PDF file you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert the HTML string to a PDF file
converter.ConvertHtmlToFile("<b>Hello World</b> from EVO PDF !", null, "HtmlToFile.pdf");
// convert HTML page from URL to a PDF file
string htmlPageURL = "http://www.evopdf.com";
converter.ConvertUrlToFile(htmlPageURL, "UrlToFile.pdf");
To convert a HTML string or an URL to a PDF document in a memory buffer and then save it to a file you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert a HTML string to a memory buffer
byte[] htmlToPdfBuffer = converter.ConvertHtml("<b>Hello World</b> from EVO PDF !", null);
// write the memory buffer to a PDF file
System.IO.File.WriteAllBytes("HtmlToMemory.pdf", htmlToPdfBuffer);
// convert an URL to a memory buffer
string htmlPageURL = "http://www.evopdf.com";
byte[] urlToPdfBuffer = converter.ConvertUrl(htmlPageURL);
// write the memory buffer to a PDF file
System.IO.File.WriteAllBytes("UrlToMemory.pdf", urlToPdfBuffer);
To convert in your ASP.NET MVC applications a HTML string or an URL to a PDF document in a memory buffer and then send it for download to browser you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert a HTML string to a memory buffer
byte[] htmlToPdfBuffer = converter.ConvertHtml("<b>Hello World</b> from EVO PDF !", null);
FileResult fileResult = new FileContentResult(htmlToPdfBuffer, "application/pdf");
fileResult.FileDownloadName = "HtmlToPdf.pdf";
return fileResult;
To convert in your ASP.NET Web Forms application a HTML string to a PDF document in a memory buffer and then send it for download to browser you can use the C# code below.
// create the converter object in your code where you want to run conversion
HtmlToPdfConverter converter = new HtmlToPdfConverter();
// convert a HTML string to a memory buffer
byte[] htmlToPdfBuffer = converter.ConvertHtml("<b>Hello World</b> from EVO PDF !", null);
HttpResponse httpResponse = HttpContext.Current.Response;
httpResponse.AddHeader("Content-Type", "application/pdf");
httpResponse.AddHeader("Content-Disposition",
String.Format("attachment; filename=HtmlToPdf.pdf; size={0}",
htmlToPdfBuffer.Length.ToString()));
httpResponse.BinaryWrite(htmlToPdfBuffer);
httpResponse.End();
The package for .NET Framework contains the product binaries, demo Visual Studio projects with full C# code for ASP.NET Web Forms and ASP.NET MVC targeting .NET Framework 4 and later versions, demo projects for Windows Forms Desktop applications, a demo project for an Azure Cloud Service application, the library documentation in CHM format.
You can evaluate the library for free as long as it is needed to ensure that the solution fits your application needs.
The EVO PDF Software licenses are perpetual which means they never expire for a version of the product and include free maintenance for the first year. You can find more details about licensing in http://www.evopdf.com/buy.aspx page of the website.
For technical and sales questions or for general inquiries about our software and company you can contact us using the email addresses from http://www.evopdf.com/contact.aspx page of the website.
FAQs
EVO HTML to PDF Library for .NET can be easily integrated in your applications targeting the .NET Framework to create PDF documents from HTML pages and strings. The library can also be used to convert HTML to images, convert HTML to SVG, create, edit and merge PDF documents. This version of the library is compatible with .NET Framework on Windows 32-bit (x86) and 64-bit (x64) platforms. For .NET Core and .NET Standard applications on Windows you can use the library from EvoPdf.NetCore or EvoPdf.HtmlToPdf.NetCore Nuget package. In any .NET application for Linux, macOS, Windows, Azure App Service, Xamarin, UWP and other platforms you can use the EvoPdf.Client Nuget package. EVO HTML to PDF Library for .NET is compatible with Windows platforms which support .NET Framework 2.0, 4.0 and above, including: * .NET Framework 4.8.1, 4.7.2, 4.6.1, 4.0, 3.5, 2.0 (and above) * Windows 32-bit (x86) and 64-bit (x64) * Azure Cloud Services and Azure Virtual Machines * Web, Console and Desktop applications Main Features: * Create PDF documents from HTML with advanced support for CSS3, SVG, Web Fonts and JavaScript * Automatically create PDF links, forms, bookmarks and table of contents from HTML tags * Place the content from multiple HTML documents at any position in PDF pages, headers or footers * Create JPEG, PNG and Bitmap raster images from HTML documents * Create high quality SVG vector images from HTML documents * Create PDF documents with text, graphics, images, headers and footers * Create PDF documents with security features and digital signatures * Create interactive PDF documents with forms, internal links, text notes and JavaScript actions * Edit, stamp, merge and split PDF documents
We found that evopdf.htmltopdf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.