• Welcome to Jose's Read Only Forum 2023.
 

Draw HTML to DC - cool!

Started by Edwin Knoppert, August 23, 2009, 05:19:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Edwin Knoppert

Now this is cool!
You can simply obtain the IViewObject from the webcontrol and use it to draw the html to any DC you like.
This means it may be useful to create snapshots or print html as image in a preferred layout (guessing)

I haven't explored it yet bit it was something i wanted, QHTM was an alternative.

Here is the PureBasic code, maybe i rewrite this to PowerBASIC.. ever.. :)

http://www.purebasic.fr/english/viewtopic.php?t=38737&highlight=&sid=d0fff11adac6d154ee302532d75c65ea

I have included an exe and a PBDev project for brief peeking.

José Roca


Edwin Knoppert