Hi Alex,
Here is an idea of how to accomplish what you want to do. First add a web browser to a form in the Windows Forms application. Then convert the form into an image. You can go further and allow the user to print/print preview the image. To see how this is done, check out two entries in my weblog at:
http://blogs.prenia.com/cathiThe first link is "How to add a web browser to your form". This will demonstrate how to provide browser capabilities inside of a form.
The second link is "How to print a form in Windows Forms". This will show the code to convert the form into an image and additionally (if you want to add the feature for the users) allow the image to be printed or sent to print preview.
Hopefully this will provide the functionality you are looking for.
>Hello UT,
>
>Using .NET or any other advanced API...
>
>My goal is to programmatically start Internet Explorer, navigate to a URL, grab a snapshot of the rendered page and save the snapshot as an image file...
>
>Basically, I would like to render an HTML page (HTML / javascript) as an image...
>
>Is there any .NET class of third party I can use to do this? It has to be done in the background, on a server.
>
>Any hint, documentation, links, etc?
>
>Thanks in advance,
> Alex
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi