HtmlToPdfOnConvertXmlNodeToPdf Property
Gets or sets the application-supplied method for fine-tuning of source to PDF conversion.

Namespace: MailBee.Pdf
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.3.0 build 647 for .NET 4.5
public ConvertXmlNodeToPdfDelegate OnConvertXmlNodeToPdf { get; set; }

Property Value

Type: ConvertXmlNodeToPdfDelegate
The reference to the delegate to be called in case of source to PDF conversion (where the source is HTML, XHTML, plain-text), or a null reference (Nothing in Visual Basic) if the delegate is not set.

The ultimate source for the converter is XMLized XHTML as it's a well-structured XML document. For instance, when you convert HTML into PDF, the component first creates XML version of that HTML (actually, XHTML with XML headers) and then applies XML-to-PDF conversion. That XML is a tree of nodes which then get converted into PDF.

Whenever an XML node is about to be converted to PDF, this delegate is called so that you can adjust how the corresponding PDF node will be generated. Refer to PdfSourceType topic for details.
See Also