HtmlToPdfSourceType Property
Gets or sets the format of the input data for the conversion.

Namespace: MailBee.Pdf
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public PdfSourceType SourceType { get; set; }

Property Value

Type: PdfSourceType
The default value is Html.
Remarks

Set this property to Text if the input is plain-text.

If this value is Xhtml, you must guarantee that the input contains well-formed XHTML within XML container. HtmlAgilityPack will not be used to convert input HTML into XML with XHTML contents, and MailBee will directly pass this XML to the PDF generator. See PdfSourceType topic for details.

See Also