How to print directly, without Print Dialog in WPF?

Raj picture Raj · Jun 8, 2010 · Viewed 17.6k times · Source

I just want to know how I can print a flow document without showing Print Dialog in WPF.

Thanks for help…

Answer

Nir picture Nir · Jun 8, 2010

You can use the PrintDialog class without showing the dialog (without calling ShowModal)