Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to print pdf file without opening it in wpf.
Vikash Kumar
Sep 12 2017 2:21 AM
266
Reply
Hello,
I am stuck into print pdf file directly to printer. I am using below code for print. It print but open pdf also.
See the code below:
string filePath = "";
ProcessStartInfo info = new ProcessStartInfo(filePath);
info.Verb = "Print";
info.CreateNoWindow = true;
info.WindowStyle = ProcessWindowStyle.Hidden;
Process.Start(info);
Thanks,
Vikash Kumar
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Need to release memory from unused images (Dispose?)
WPF get children from layout by name