none
IE9 bug: Not working render to printer DC

    Question

  • In IE7 and IE8 MSHTML core can print content on printer DC via IHTMLElementRender::DrawToDC().

    Now, IE9 dose not todo this work.

    My app use MSHTML as ActiveX Control for render and print some statica reports. It use IOleObject::SetExtent() for setup exntents of printing zone and IHTMLElementRender::DrawToDC() for print content, but after update to IE9 Beta this feture is not working.

    Rendering to Enhanced metafile DC throw IHTMLElementRender::DrawToDC() is not woking too, resulting image has corrupted background and many artifacts on tables and text.

    Tuesday, December 21, 2010 2:01 PM

Answers

All replies