AxWebBrowser printing

  • Thread starter Thread starter Bryan
  • Start date Start date
B

Bryan

I am writing an appilcation that uses an AxWebBrowser to display a web
page. I want to be able to add a button to the same form that can print
the contents of this web browser. I can right click on the browser and
select print, so I would think that I should be able to make this happen
from a button on the same form. Does anyone have any idea??

--Bryan
 
Bryan,

If you have the webbrowser, you should be able to call the ExecWB method
on the control, passing in IDM_PRINT as the command identifier.

Check the documentation for ExecWB for details on how to make the call.

Hope this helps.
 
Back
Top