This example shows the how to thumbnail a web page.

 

   
Setup
 
     

First we create an ABCDrawHTML Page object. Next we set the URL. Finally we save the image at 25% of its normal size.

Set thePage = Server.CreateObject("ABCDrawHTML.Page")
thePage.URL = "http://www.whitehouse.gov/"
thePath = Server.MapPath("whgov.jpg")
theWidth = thePage.Width / 4
theHeight = thePage.Height / 4
thePage.Save thePath, theWidth, theHeight

 

   
Results
 
     


whgov.jpg