top of page


Public·89 members


What is Ebookennyarrowpdf81 and How to Use It?

If you are looking for a simple and easy way to generate PDF documents from HTML pages, you might want to check out Ebookennyarrowpdf81. This is a lightweight and simple-to-use class for VB.NET that can create PDF files with one or more HTML files inside it. In this article, we will explain what Ebookennyarrowpdf81 is, how it works, and how to use it.


What is Ebookennyarrowpdf81?

Ebookennyarrowpdf81 is a class for VB.NET that can generate PDF documents from HTML pages. It uses the iTextSharp library to create PDF files and the HtmlAgilityPack library to parse HTML files. Ebookennyarrowpdf81 can handle multiple HTML files in one PDF document, and it can also handle images, stylesheets, and scripts in the HTML files.

How does Ebookennyarrowpdf81 work?

Ebookennyarrowpdf81 works by creating a document object and adding a paragraph object to it. The paragraph object contains an HTML object that takes the HTML content as a parameter. The HTML object parses the HTML content and converts it to PDF elements. Then, Ebookennyarrowpdf81 saves the document object as a PDF file.

How to use Ebookennyarrowpdf81?

To use Ebookennyarrowpdf81, you need to download the source code from GitHub and add references to the iTextSharp and HtmlAgilityPack libraries in your project. Then, you need to import the Ebookennyarrowpdf81 namespace and create an instance of the Ebooknyarrowpdf81 class. You can use the GeneratePdfFromDocument method to create a PDF file from one or more HTML files. For example:

Imports System.IO

Imports Ebookennyarrowpdf81

Namespace Ebookennyarrowpdf81

Public Class Ebooknyarrowpdf81

Public Shared Function GeneratePdfFromDocument() As Document

Using doc As New Document()


doc.AddPage(New Paragraph(New Html(CreateWebPagesToPdf())))

Catch ex As Exception

Throw ex

End Try

End Using

Return doc

End Function

Private Shared Function CreateWebPagesToPdf() As String

Dim c As New Dossier

For Each filepath As String In Directory.GetFiles("./external/", "*.html")

Dim htmlfile As String = System.IO.File.ReadAllText(filepath)