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.HtmlToPdf
Assembly:
ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax public 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