MailBee.Pdf Namespace

MailBee.Pdf namespace provides HtmlToPdf class which lets you perform HTML to PDF conversion. If you installed MailBee.NET via Nuget, you'll also need to install HtmlAgilityPack 1.4.9.5 and iTextSharp LGPL 4.1.6.

PDF feature is only supported in classic .NET Framework. It's not available in .NET Core and UWP.

Classes
  ClassDescription
Public classCode exampleHtmlToPdf
Provides methods and properties for HTML to PDF conversion.
Delegates
  DelegateDescription
Public delegateConvertXmlNodeToPdfDelegate
Defines the delegate for fine-tuning of HTML to PDF conversion.
Public delegateProcessImagePathDelegate
Defines the delegate for processing of absent images or images with incorrect path.
Enumerations
  EnumerationDescription
Public enumerationCode examplePdfSourceType
Defines the available values for HtmlToPdf.SourceType property to specify the type of source data for conversion to PDF document.