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: 11.2.0 build 590 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