« 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