Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

System.Windows.Controls.WebBrowser: Print Document?

$
0
0

I thought this would be easy to sort out, but because there's a couple of very different versions if WebBrowser, it's not. I have a populated WebBrowser:

System.Windows.Controls.WebBrowser wbr = ReportBrowser as WebBrowser;

I need to be able to PRINT the contents of my WebBrowser. There's a few ancient posts that either talk about the System.Windows.Form version of WebBrowser, or suggest using IOleCommandTarget. The problem with the latter is that they don't describe using IOleCommandTarget very well (not that I'm excited about using COM objects anyway).

My environment is Windows 7 and .NET 4.0.

Thanks,

Randy


Randy


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>