Archive > Discussion - Legacy Software (PBWIN 9.0+/PBCC 5.0+)

Draw HTML to DC - cool!


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.. :)

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

José Roca:
You can use the OleDraw function instead.

Edwin Knoppert:


[0] Message Index

Go to full version