WPF Documentviewerbase.Print. Remove dialog box

Posted by Jim Beam on Stack Overflow See other posts from Stack Overflow or by Jim Beam
Published on 2010-01-12T02:34:12Z Indexed on 2010/04/03 2:03 UTC
Read the original article Hit count: 477

Filed under:
|
|

I am using WPF and the DocumentViewer to display a document. However, when I use DocumentViewerBase.Print, it gives the "standard" Windows dialog box asking me to choose a printer with the default already selected. How can I get rid of this? I just want to use a Print method that will automatically start printing with no other prompt in between.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about documentviewer