Reputation: 697
How to print a XPS document,which is in my application start up path without opening the OpenFileDialog
?
Upvotes: 0
Views: 1361
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