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