以C#Win格式打印预览 [英] Print Preview in C# Win form

查看:70
本文介绍了以C#Win格式打印预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友



我在C#中有一种GUI形式,我有8个文本框。我想创建打印预览,然后在按钮单击时打印文本框。请求帮助我。



printpreview dilog box编码........





谢谢



提前........

Hi Friends

I have a form of GUI in C# and i have 8 text box. i want to create print preview and then print the textbox on button click . Pleaes help me.

coding of printpreview dilog box........


thanks

in advance........

推荐答案

如果你使用一个PrintDocument,内置打印预览。



MSDN:在Windows窗体应用程序中显示打印预览 [ ^ ]
If you use a PrintDocument, the print preview is built in.

MSDN: Display Print Preview in Windows Forms Applications[^]


您好,



请查看以下链接。



如何使用Visual C#.NET或Visual C#2005打印RichTextBox控件的内容

http://support.microsoft.com/kb/812425 [ ^ ]



打印并打印Richtextbox的预览内容(使用VS 2008) C#)

http:// social.msdn.microsoft.com/Forums/en/winforms/thread/348c3c1d-ab24-498b-8370-c9fd2301dde0 [ ^ ]



打印预览和打印

http ://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/460163c1-b68b-4a61-a443-c77009ccff15 [ ^ ]
Hi,

Take a look at the following links.

How to print the content of a RichTextBox control by using Visual C# .NET or Visual C# 2005
http://support.microsoft.com/kb/812425[^]

Print and Print Preview contents of Richtextbox (Using VS 2008 C#)
http://social.msdn.microsoft.com/Forums/en/winforms/thread/348c3c1d-ab24-498b-8370-c9fd2301dde0[^]

Print Preview and Print
http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/460163c1-b68b-4a61-a443-c77009ccff15[^]


这篇关于以C#Win格式打印预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆