PdfDocument
LoadFromHTML Method (String, Boolean, Boolean, Boolean, PdfPageSettings, PdfHtmlLayoutFormat, Boolean)
|
Note: This API is now obsolete.
Load file from disk file.
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 url,
bool enableJavaScript,
bool enableHyperlinks,
bool autoDetectPageBreak,
PdfPageSettings setting,
PdfHtmlLayoutFormat layoutFormat,
bool isLoadComplete
)
<ObsoleteAttribute("This property may be removed in the future, please use Qt plugins instead.")>
Public Sub LoadFromHTML (
url As String,
enableJavaScript As Boolean,
enableHyperlinks As Boolean,
autoDetectPageBreak As Boolean,
setting As PdfPageSettings,
layoutFormat As PdfHtmlLayoutFormat,
isLoadComplete As Boolean
)
public:
[ObsoleteAttribute(L"This property may be removed in the future, please use Qt plugins instead.")]
void LoadFromHTML(
String^ url,
bool enableJavaScript,
bool enableHyperlinks,
bool autoDetectPageBreak,
PdfPageSettings^ setting,
PdfHtmlLayoutFormat^ layoutFormat,
bool isLoadComplete
)
[<ObsoleteAttribute("This property may be removed in the future, please use Qt plugins instead.")>]
member LoadFromHTML :
url : string *
enableJavaScript : bool *
enableHyperlinks : bool *
autoDetectPageBreak : bool *
setting : PdfPageSettings *
layoutFormat : PdfHtmlLayoutFormat *
isLoadComplete : bool -> unit
Parameters
-
url
-
Type:
System
String
url address
-
enableJavaScript
-
Type:
System
Boolean
Enable javascrpit
-
enableHyperlinks
-
Type:
System
Boolean
Enable hyperlink
-
autoDetectPageBreak
-
Type:
System
Boolean
Auto detect page break
-
setting
-
Type:
Spire.Pdf
PdfPageSettings
Page 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