如何在C#窗口应用程序中打印表单的内容

问题描述:

hi ..
我想在纸上的表格上打印标签.捕获屏幕也会打印表格.我只想打印标签.请帮助我...

hi..
I want to print the labels on my form on the paper.Capture screen prints the form also.i want to print only labels. please help me...

您可以使用类System.Drawing.Printing.PrintDocument:http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx [
You can use the class System.Drawing.Printing.PrintDocument: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx[^].

A short code sample in this articles explains most things.

—SA