Load file from disk file.
Namespace: Spire.PdfAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public void LoadFromHTML( string Url, bool enableJavaScript, bool enableHyperlinks, bool autoDetectPageBreak, PdfPageSettings setting, PdfHtmlLayoutFormat layoutFormat, bool isLoadComplete )
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: void LoadFromHTML( String^ Url, bool enableJavaScript, bool enableHyperlinks, bool autoDetectPageBreak, PdfPageSettings^ setting, PdfHtmlLayoutFormat^ layoutFormat, bool isLoadComplete )
member LoadFromHTML : Url : string * enableJavaScript : bool * enableHyperlinks : bool * autoDetectPageBreak : bool * setting : PdfPageSettings * layoutFormat : PdfHtmlLayoutFormat * isLoadComplete : bool -> unit
Parameters
- Url
- String
- enableJavaScript
- Boolean
Enable javascrpit
- enableHyperlinks
- Boolean
Enable hyperlink
- autoDetectPageBreak
- Boolean
Auto detect page break
- setting
- PdfPageSettings
- layoutFormat
- PdfHtmlLayoutFormat
PdfHtmlLayoutFormat layoutFormat
- isLoadComplete
- 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.