ConverterUtilsGetHtmlFromURL Method (String, Encoding) |
Get the HTML code from the specified URL. Use the specified page encoding
to create the resulted string object.
Namespace: ExpertPdf.HtmlToPdfAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic static string GetHtmlFromURL(
string url,
Encoding pageEncoding
)
Public Shared Function GetHtmlFromURL (
url As String,
pageEncoding As Encoding
) As String
Parameters
- url
- Type: SystemString
The URL from where to get the HTML - pageEncoding
- Type: System.TextEncoding
The encoding used to build the resulted string object
Return Value
Type:
StringThe page HTML string
See Also