« REAL Software's exper… | Home | Have you checked out … »

Render Image from a HTMLViewer


Users ask from time to time on how to get a picture from a webview. We have in our plugins functions on the HTMLViewer control like RenderWebsiteImageMBS, RenderDocumentToPDFMBS and IEImageMBS. The following project shows on how to use them:

Download example project: htmlviewerimage.zip

Some jpegs I saved with this method (left Mac OS X, right Windows):


Update: On Windows you need to call window.clearfocus to get a picture from the htmlviewer. Else you see only white. No idea what Internet Explorer is doing behind the scenes.
19 11 10 - 14:38
No comments

  
Remember personal info?

Emoticons / Textile


Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.