Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Print in WPF

Posted on 2011-09-21
1
Medium Priority
?
267 Views
Last Modified: 2012-06-27
How can I can print multiple (selected controls) in a paper in WPF? This print only one control.

Dim printDlg As New PrintDialog()
printDlg.PrintVisual(grid1, "Grid Printing.")

http://www.vbdotnetheaven.com/UploadFile/dbeniwal321/1885/
0
Comment
Question by:VBdotnet2005
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 36576140
Try adding all the controls, that you want to print, to a container control such as flowdocument and then print that container

http://stackoverflow.com/questions/205112/printing-a-collection-in-wpf
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Integration Management Part 2
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question