none
Print preview dialog (object.ExecWB) issue RRS feed

  • Question

  • We are opening the IE print preview object on button click using 
    document.body.insertAdjacentHTML("beforeEnd",
        "<object id=\"idWBPrint\" width=0 height=0 \

    classid=\"clsid:8856F961-340A-11D0-A96B-00C04FD705A2\">
        </object>");
    and want to resize my actual DOM element based on the page preferences selected. 
    I'm trying to access the callbacks for events like onchange, onmousemove on the print preview object
    so as to resize my DOM element and put it back for printing.
    Tuesday, July 12, 2016 10:58 AM

Answers