Sruthi Suresh
Sruthi Suresh

Reputation: 697

Print XPS document without open the dialog box in C#

How to print a XPS document,which is in my application start up path without opening the OpenFileDialog?

Upvotes: 0

Views: 1361

Answers (1)

Jon
Jon

Reputation: 3065

You should look into PrintQueue.AddJob. That particular method can be used to print an xps document without any additional UI interactions.

Upvotes: 1

Related Questions