L
Li-fan Chen
Hi,
We are working on a project in need of some sophisticated thumbnail
generating:
Miguel de Icaza (of Mono fame) has shown a Thumbnail generator (for
screenshot of webpages) as detailed in this blog entry
(http://tirania.org/blog/archive/2004/Jun-14.html). They do it with GTK# and
GECKO#.
Can we do the same with Windows Forms 2.0's WebBrowser control?
We think it will need to draw to an off-screen buffer, a snapshot will be
taken of the buffer, and returned back to external callers like ASP.NET
pages and Windows Service daemons. Our main interest will center around:
1) whether it's possible to make use of functionality the Forms
namespace if I never intend to make a program visible;
2) whether such functionality can be bundled into an callable assembly;
3) and whether WebBrowser 2.0 is a better way to take snapshots (we will
need features like: w/ or w/o scroll-bars; w/ or w/o GUI elements; and
customizable width and height) or should I look for ActiveX access methods.
This sounds like some serious Windows Forms 2.0 fu, and we would be
delighted if the kind Windows Forms 2.0 experts in this channel can show us
the path. Your assistance in this matter is greatly appreciated!
Best regards,
-- Li-fan
We are working on a project in need of some sophisticated thumbnail
generating:
Miguel de Icaza (of Mono fame) has shown a Thumbnail generator (for
screenshot of webpages) as detailed in this blog entry
(http://tirania.org/blog/archive/2004/Jun-14.html). They do it with GTK# and
GECKO#.
Can we do the same with Windows Forms 2.0's WebBrowser control?
We think it will need to draw to an off-screen buffer, a snapshot will be
taken of the buffer, and returned back to external callers like ASP.NET
pages and Windows Service daemons. Our main interest will center around:
1) whether it's possible to make use of functionality the Forms
namespace if I never intend to make a program visible;
2) whether such functionality can be bundled into an callable assembly;
3) and whether WebBrowser 2.0 is a better way to take snapshots (we will
need features like: w/ or w/o scroll-bars; w/ or w/o GUI elements; and
customizable width and height) or should I look for ActiveX access methods.
This sounds like some serious Windows Forms 2.0 fu, and we would be
delighted if the kind Windows Forms 2.0 experts in this channel can show us
the path. Your assistance in this matter is greatly appreciated!
Best regards,
-- Li-fan