ConverterUtilsGetHtmlFromURL(HttpWebRequest, Encoding) Method |
Get the HTML code using the specified HTTP request.
Namespace: ExpertPdf.Anywhere.HtmlToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic static string GetHtmlFromURL(
HttpWebRequest request,
Encoding pageEncoding
)
Public Shared Function GetHtmlFromURL (
request As HttpWebRequest,
pageEncoding As Encoding
) As String
Parameters
- request HttpWebRequest
- The HttpWebRequest object to to make the HTTP request
- pageEncoding Encoding
- The encoding used to build the resulted string object
Return Value
StringThe page HTML string
See Also