sharkyenergy sharkyenergy - 6 months ago 52 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?


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