C#中的打印预览选项 [英] Print Preview Option in C#

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

问题描述

如何在Windows窗体应用程序的C#.....中将打印预览选项放置在我的菜单中
代码是什么...

和选项仅在存在任何形式时可用...可用
否则,选项将被禁用...

请帮助我

How to Put The Print Preview Option In My Menu In C#....in Windows Form Application
what is the code...

and Option Work Only When The any form is There...Available
Otherwise Option Is Disable...

Plzzz Help me Out

推荐答案



检查这些..

http://www.geekpedia.com/tutorial181_Capturing-screenshots-using-Csharp.html [ ^ ]
http://social.msdn.microsoft.com /Forums/zh-CN/csharpgeneral/thread/eb80fbbe-6b89-4c3d-9ede-88a2b105c714/ [ http://stackoverflow.com/questions/3316133/how-printscreen- works-how-to-catch-transparent-windows [ ^ ]
> http://stackoverflow.com/questions/3306600/c-how-to-take-a-screenshot-of-a-portion-of-screen [ ^ ]

引用这些链接后,您将获得屏幕快照的图像.因此,您可以将该图像显示为打印预览,一旦用户确认,您就可以打印该图像.

希望对您有帮助.
Hi,

check these..

http://www.geekpedia.com/tutorial181_Capturing-screenshots-using-Csharp.html[^]
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/eb80fbbe-6b89-4c3d-9ede-88a2b105c714/[^]
http://stackoverflow.com/questions/3316133/how-printscreen-works-how-to-catch-transparent-windows[^]
http://stackoverflow.com/questions/3306600/c-how-to-take-a-screenshot-of-a-portion-of-screen[^]

once you refer these links, you will that , you can get the image of the screen shot. So, you can show that image as print preview, once the user confirms, you just print that image.

hope it helps.


您将找到所有答案,并附有示例
You''ll find all the answers, complete with examples here.


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

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