Click or drag to resize

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
)

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: String
The page HTML string
See Also