HtmlToPdfOnConvertXmlNodeToPdf Property |
Gets or sets the application-supplied method for fine-tuning of source to PDF conversion.
Namespace: MailBee.PdfAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax public ConvertXmlNodeToPdfDelegate OnConvertXmlNodeToPdf { get; set; }
Public Property OnConvertXmlNodeToPdf As ConvertXmlNodeToPdfDelegate
Get
Set
Property Value
Type:
ConvertXmlNodeToPdfDelegateThe 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.
Remarks 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.
Examples See 2nd sample in
HtmlToPdf topic for example.
See Also