将网页转成html

来源:互联网 发布:淘宝商品详情模板 编辑:程序博客网 时间:2024/05/07 11:10
 

ABCDrawHTML ™

ABCDrawHTML is a simple but powerful HTML rendering library. It allows you to create previews or thumbnails of web pages in a number of different formats from PNG to JPEG to TIFF to EMF. Because it uses a resolution independent drawing format you can enlarge or shrink your images as required with no loss of quality.

Because it doesn't use print drivers it renders web pages quickly and accurately. Because it's Both Threaded you can use it flexibly from within ASP, VB, .NET and under COM+ or MTS. It uses advanced techniques to allow efficient asynchronous multithreaded operations.

It's easy to use. Suppose you want to produce a thumbnail image of the FBI web site. This is the code you need.

Set page = Server.CreateObject("ABCDrawHTML.Page")
page.URL = "http://www.fbi.com/"
path = Server.MapPath("fbi.jpg")
page.Save path, 200, 150

And this is the thumbnail you get.

However you don't need to save your images to disk, you can stream them direct to the client. You can see this in action and try it out for yourself on our live example web site...

You can use it flexibly under .NET. Most of the COM interop limitations that cause performance problems under .NET are specific to Apartment Threaded objects. Because ABCDrawHTML is fully Both Threaded it can be used flexibly in any environment from .NET to ASP to Visual Basic.

 

http://www.websupergoo.com/abcdrawhtml-1.htm

http://topic.csdn.net/u/20071228/22/52c06fee-988b-4303-829b-fb58058b5ab3.html

谁需要的话直接去   http://d.download.csdn.net/down/320533/tantaiyizu   下载吧

原创粉丝点击