Instead of doing it yourself, you can have the operating system do it
for you. There is an interface in COM called IExtractImage which
implementations will use to create thumbnail images. All you have to do is
specify the size of the image you want to render and then make the call to
Extract.
There is an article on vbaccelerator.net titled "Thumbnail Extraction
Using the Shell", located at (watch for line wrap):
http://www.vbaccelerator.com/home/NET/Code/Libraries/Shell_Projects/Thumbnail_Extraction/article.asp
This should tell you all you need to know.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- casp...@caspershouse.com
"Sharon" <no...@null.void> wrote in message
news:Oa6Ydlqt...@TK2MSFTNGP09.phx.gbl...
"Nicholas Paldino [.NET/C# MVP]" <m...@spam.guard.caspershouse.com> wrote in
message news:OfD2H1tt...@TK2MSFTNGP12.phx.gbl...
Well, that's debatable, but...
A great library for dealing exactly this problem is HtmlAgilityPack. It
will convert even 'real world' (ie non-strict) html into a nice tidy
DOM.
--
Larry Lard
Replies to group please
How can you render un parsed html?
By passing it to a component that does both the parsing and the
rendering!
Yes, i was hoping to use the WebBrowser class, but can do that only in
windows forms.