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
swathi
NA
3
0
How to convert string to System.Drawing.Printing.PrintDocument?
Jul 12 2010 4:44 PM
Hi I have been working on C sharp for sometime now and I am stuck with a problem in my code. My requirement is when I choose to print a document, it has to open in a preview pane automatically. This program automatically generates PDF documents and this has to be opened in the preview pane. I have the path to this PDF file. Now when I try to Preview it using PrintPreviewDialog and when I give this path to the Document name, it says it cannot implicitly convert string to System.Drawing.Printing.PrintDocument.
How do I do this? I am in a fix. Any help would be highly appreciated. Thanks in advance.
Regards,
Swathi
Reply
Answers (
2
)
Cannot get result from Process.Start ...
Max() in sql server 2005