sharkyenergy sharkyenergy - 1 year ago 79 Question

Print webbrowsercontrol with background colors

I am generating the code at runtime and entering it in the webbrowser1.Document for display.

There are some tables with colored cells that I need to print out. By default the webbrowser doesn't print background colors. Is there a way to override it? since I am generating the code via runtime I cannot use images as background.

Also printscreen is not an option because the page is bigger than the size of the webbrowser itself.

Any idea on how to solve this?

Answer Source

i solved it by editing the register at Runtime! edit the register, print, restore the register.. :)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download