在C#桌面应用程序中打印

在C#桌面应用程序中打印

问题描述:

如何在C#桌面应用程序中使用打印控件进行打印..

我没有得到使用打印控制的任何帮助.

我只是想以..形式显示控件的printprive并打印它们.

how to print using printing controls in C# desktop application..

i am not eveing getting any help to use printing control.

i just simply want to show printprive of the controls in the form .. and to print them

.NET中打印的绝对初学者指南 [ ^ ]
表单打印控件 [用于用户控件的多合一打印实用程序 [
An absolute beginner''s guide to printing in .NET[^]
Form Print Control[^]
All-in-one printing utility for user controls[^]


假设您可以使用System.Drawing使用类别System.Drawing.Printing.PrintDocument.帮助页面和一些简单的代码示例位于: http://msdn.microsoft .com/en-us/library/system.drawing.printing.printdocument.aspx [System.Drawing.Graphics呈现的内容.

—SA
Assuming you can use System.Drawing use the class System.Drawing.Printing.PrintDocument. The help page and some simple code sample is here: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^].

I have no idea how would you like to "print controls" and why, but you can print anything which can be rendered using System.Drawing.Graphics.

—SA