Thumbnail of web page in C# Net
Techniques
This category is aimed to help programmers in order to find and share helpfull techniques, source code and more stuff.
Techniques / Web tools : DypsWebCapture
Documentation: DypsWebCapture object reference <
- This simple sample show you how to use DypsWebCapture to make an HTML to SWF transformation :
Here is the final result :
The script is quite easy to write and understand :
<%
Set Snap=CreateObject("DypsWebCapture.Snapshot")
'Launch a virtual browser window with the dimension :800x600
Snap.pageHeight =600
Snap.pageWidth = 800
'Specify the width and height of the image thumnail
Snap.thumbHeight = 300
Snap.thumbWidth = 400
'Grab the web page snapshot on the fly!
'and save it as SWF image
'Be sure to have write permission on the local folder
'for IUSR_YourNameMachine account!
Snap.GetURL "http://dypso.free.fr",Server.MapPath("dyps.swf")
'Clean memory
Set Snap = Nothing
%>
Documentation: DypsWebCapture object reference <
Previous Page



