Click or drag to resize

PdfDocument LoadFromHTML Method (String, Boolean, PdfPageSettings, PdfHtmlLayoutFormat, Boolean)

Note: This API is now obsolete.

Load htmlSourceCode to Pdf

Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
[ObsoleteAttribute("This property may be removed in the future, please use Qt plugins instead.")]
public void LoadFromHTML(
	string htmlSourceCode,
	bool autoDetectPageBreak,
	PdfPageSettings setting,
	PdfHtmlLayoutFormat layoutFormat,
	bool isLoadComplete
)

Parameters

htmlSourceCode
Type: System String
htmlSourceCode
autoDetectPageBreak
Type: System Boolean
Auto detect page break
setting
Type: Spire.Pdf PdfPageSettings
PdfPageSettings setting
layoutFormat
Type: Spire.Additions.Html PdfHtmlLayoutFormat
PdfHtmlLayoutFormat layoutFormat
isLoadComplete
Type: System Boolean
by default false, when load Html DOM timeout(PdfHtmlLayoutFormat.LoadHtmlTimeout),convert uncompleted Html DOM to pdf. if true,until Html DOM load completed,then convert to pdf.
See Also