🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

evopdfclient.netcore

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

evopdfclient.netcore

1.0.3-alpha
unpublished
NuGet
Maintainers
0
Source

EVO PDF Client for .NET Core

EVO PDF Client library for .NET Core can be easily integrated in any application targeting the .NET Core or .NET Standard 2.0 and above to create, read, edit and save PDF documents. The library includes the HTML to PDF Converter which allows you to convert HTML with CSS3, SVG, Canvas, Web Fonts and JavaScript to PDF. You can also convert HTML to images and SVG, edit, merge and split PDF, convert Word and Excel to PDF, convert PDF to image, to HTML or to text, extract images from PDF and search text in PDF.

Getting Started

Before using the EVO PDF Client for .NET Core in your applications you first have to install the EVO PDF Server. EVO PDF Server package can be downloaded from https://www.evopdf.com/download.aspx page of the website and it contains the server files and detailed installation instructions for each platform. The server can be installed as Azure Cloud Service Worker Role, Azure Cloud Service Web Role, Azure Service Fabric Application, IIS ASP.NET Web Application or Windows Service. After the EVO PDF Server was installed, you are ready to use the EVO PDF Client Library for .NET Core in your applications. Copy the code lines from the section below to use the HTML to PDF Converter component to create a PDF document from a web page. The server IP address is assigned during server installation and it can be omitted from HtmlToPdfConverter constructor if the server was installed on the localhost IP address 127.0.0.1 on default port 40001, for example if you installed the EVO PDF Server as a Windows Service on the local development machine with default options. There are also variants of the constructor accepting an URL instead of IP address if the server was installed as a web service in Azure or in IIS.

C# Code Sample

// add this using statement at the top of your C# file using EvoPdfClient;

// create the converter object in your code where you want to run conversion // change the serverIP value if the server was installed on a remote machine string serverIP = "127.0.0.1"; HtmlToPdfConverter converter = new HtmlToPdfConverter(serverIP);

// convert HTML code to a PDF file converter.ConvertHtmlToFile("Hello World from EVO PDF !", null, "converted_html.pdf");

// convert HTML code to a memory buffer byte[] htmlToPdfBuffer = converter.ConvertHtml("Hello World from EVO PDF !", null);

// convert HTML page from URL to a PDF file converter.ConvertUrlToFile("http://www.evopdf.com", "converted_url.pdf");

// convert HTML page from URL to a memory buffer byte[] urlToPdfBuffer = converter.ConvertUrl("http://www.evopdf.com");

Compatibility

  • C#, VB.NET
  • .NET Core 7, 6, 5, 3, 2, .NET Standard 2.0 , .NET Framework 4.7.2 (and above)
  • Windows, Linux, macOS, Azure including App Service and Functions
  • Web, Console and Desktop Applications

Keywords

html-to-pdf

FAQs

Did you know?

Socket

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.

Install

Related posts