如何在ASP.NET中获取页面设置对话框 [英] How to get page setup dialog box in asp.net
本文介绍了如何在ASP.NET中获取页面设置对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想打印网页的一部分,而没有任何页边距或页眉和页脚.我正在调用一个javascript函数进行打印.但是,在打印页边距时,页眉和页脚也会出现在打印输出中.如何打印页面左上角的部分?我可以打开页面设置对话框,以便将页边距设置为"0"吗?
有人请帮助我...
谢谢.
Hi,
I want to print a part of webpage without any margin or header and footer. I''m calling a javascript function for printing. But while printing margins, header & footer are also comng in printout. How can I print the portion at the top left corner of page? Can I opent the page set up dialog box so that I can set margin as ''0''?
Anyone please help me....
Thank You.
推荐答案
我建议您首先进行基本的Google搜索.如果仍然不能解决问题,可以来这里询问更多详细信息.
检查以下内容: ^ ]
I would suggest you to do a basic Google search first. If you are still not able to solve the issue you can come and ask here with more details.
Check this: Google Search: print javascript without header footer[^]
这篇关于如何在ASP.NET中获取页面设置对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文