Solved

Print in WPF

Posted on 2011-09-21
1
248 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 125 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now