TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vikash Kumar
1.6k
110
10k
How to print pdf file without opening it in wpf.
Sep 12 2017 2:21 AM
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
Reply
Answers (
4
)
Need to release memory from unused images (Dispose?)
WPF get children from layout by name