English | 日本
Shopping CartContact Us PDF C#

Create C# HTML to PDF Programs with a few lines of code

The following lines of C# code are all it takes to use C# for building HTML to PDF programs:

Type type = Type.GetTypeFromProgID("easyPDF.Loader.8");
Loader oLoad = (Loader) Activator.CreateInstance(type);
Printer oPrin = (Printer) oLoad.LoadObject("easyPDF.Printer.8");

IEPrintJob oIEPJob = oPrin.IEPrintJob;
IESetting oIESet = oIEPJob.IESetting;
oIESet.PrintBGColor = true;

oIEPJob.PrintOut(Server.MapPath (@".\input.htm"), Server.MapPath(@".\output.pdf"));

PDF features for C# HTML to PDF Programming

Developers can use easyPDF SDK to easily build PDF features into their enterprise .NET C# applications. This allows your business to effectively deliver existing business documents to partners, customers and employees.


Download C# PDF API Free Trial

Request Pricing C# HTML to PDF API

Sample C# HTML to PDF Projects and Documentation
  • “easyPDF SDK setup was very straightforward, unlike our experience with other products. We wrote just a few lines of code to start using it.” Read the case study
  • “We evaluated many PDF tools and drivers. We even wrote our own. Except for BCL’s easyPDF SDK, all had limitations we couldn’t live with. Some only converted from MS Office and not very well. Others could not do annotation or text stamping on PDF documents. None were as easy to use and as easy to integrate.Read the case study
© 1993 - , BCL Technologies.
All other trademarks are the property of their respective owners.