Increase WebGrabber's Performance Converting HTML Files
The web service response time is taking over 20 seconds regardless of the size of the HTML page.
Probable Cause
Performance may be limited due to the manner in which WebGrabber is used.
Resolution
Do one of the following to increase performance:
- Create the HTML file first in a separate function, and then use the URL method to do the conversion.
Follow the link for a basic WebGrabber conversion example:
http://examples.activepdf.com/WebGrabber/2013/Basic_Conversion.vbs
- Use the property, HTMLTextToFile, along with CreateFromHTMLText to create a temporary file during rendering.
Follow the link to view usage and syntax for HTMLTextToFile:
http://examples.activepdf.com/WebGrabber/2013/HTMLTextToFile.vbs
Comments
0 comments
Please sign in to leave a comment.