ConverterUtilsRenderHtmlFromURL Method |
Retrieves the HTML code from a URL and executes the JavaScript code.
The GetHtmlFromURL only retrieves the HTML code as returned by the server
Namespace: ExpertPdf.HtmlToPdfAssembly: ExpertPdf.HtmlToPdf (in ExpertPdf.HtmlToPdf.dll) Version: 11.0.0
Syntaxpublic static string RenderHtmlFromURL(
string url,
bool scriptsEnabled,
bool activeXEnabled,
bool behaviorsEnabled,
bool addPadding,
bool binaryBehaviorsEnabled
)
Public Shared Function RenderHtmlFromURL (
url As String,
scriptsEnabled As Boolean,
activeXEnabled As Boolean,
behaviorsEnabled As Boolean,
addPadding As Boolean,
binaryBehaviorsEnabled As Boolean
) As String
Parameters
- url
- Type: SystemString
- scriptsEnabled
- Type: SystemBoolean
Enable scripts when rendering the HTML string - activeXEnabled
- Type: SystemBoolean
Enable Active X controls when rendering the HTML string - behaviorsEnabled
- Type: SystemBoolean
Enable behaviors when rendering the HTML string - addPadding
- Type: SystemBoolean
Remove the padding introduced at the end of the conversion result - binaryBehaviorsEnabled
- Type: SystemBoolean
Enable binary behaviors when rendering the HTML string
Return Value
Type:
String
See Also