PdfDocument
LoadFromHTML Method (String, Boolean, PdfPageSettings, PdfHtmlLayoutFormat)
|
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
)
<ObsoleteAttribute("This property may be removed in the future, please use Qt plugins instead.")>
Public Sub LoadFromHTML (
htmlSourceCode As String,
autoDetectPageBreak As Boolean,
setting As PdfPageSettings,
layoutFormat As PdfHtmlLayoutFormat
)
public:
[ObsoleteAttribute(L"This property may be removed in the future, please use Qt plugins instead.")]
void LoadFromHTML(
String^ htmlSourceCode,
bool autoDetectPageBreak,
PdfPageSettings^ setting,
PdfHtmlLayoutFormat^ layoutFormat
)
[<ObsoleteAttribute("This property may be removed in the future, please use Qt plugins instead.")>]
member LoadFromHTML :
htmlSourceCode : string *
autoDetectPageBreak : bool *
setting : PdfPageSettings *
layoutFormat : PdfHtmlLayoutFormat -> unit
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
See Also