Draws HTML to PDF
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 PdfLayoutHTMLResult LoadFromHTML( string url, bool enableJavaScript, bool enableHyperlinks, PdfHtmlLayoutFormat layoutFormat )
Public Function LoadFromHTML ( url As String, enableJavaScript As Boolean, enableHyperlinks As Boolean, layoutFormat As PdfHtmlLayoutFormat ) As PdfLayoutHTMLResult
public: PdfLayoutHTMLResult^ LoadFromHTML( String^ url, bool enableJavaScript, bool enableHyperlinks, PdfHtmlLayoutFormat^ layoutFormat )
member LoadFromHTML : url : string * enableJavaScript : bool * enableHyperlinks : bool * layoutFormat : PdfHtmlLayoutFormat -> PdfLayoutHTMLResult
Parameters
- url
- String
Url address
- enableJavaScript
- Boolean
Enable javascrpit
- enableHyperlinks
- Boolean
Enable hyperlink
- layoutFormat
- PdfHtmlLayoutFormat
Layouts html view format