如何使用vb.net在打印预览时显示Webbrowsercontrol中的表格 [英] How to show tables in Webbrowsercontrol while print preview time using vb.net

查看:72
本文介绍了如何使用vb.net在打印预览时显示Webbrowsercontrol中的表格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

这是拉梅什,
我仍然在使用vb.net
我们正在使用webbrowsercontrol.其中包含带表的24页数据..
如果我想打印这些表格,请把它们分开..
例如:第一页半桌,第二页半桌..

所以请给我答复我的问题
对我来说非常重要.

谢谢..

Hello Guys

This is Ramesh,
Still i am working with vb.net
Were we are using webbrowsercontrol. which contains 24 pages data with tables..
If i wanna take a print those tables are divided ..
For Ex: Half table in first page and half table in second page..

So please give me reply for my question
Its very importent to me..

Thank you..

推荐答案

如果网页包含表格,并且您希望每页打印一张表格,那么最好的办法就是解析HTML并创建每个页面上都有一张表格的页面可以打印. Web浏览器只会将它们打印在原处,并且它们很可能会跨越页面的边界.
If a web page contains tables, and you want to print one table per page, your best bet is probably to parse the HTML, and create pages that each have one table on them, to print. The web browser will just print them where they are, and they could well cross the boundaries of a page.


请有人清楚地向我发送邮件. 缩短过程以解决问题..
谢谢..
Please some one send me clearly..
Whts the process to clear the problem..
Thank you..


这篇关于如何使用vb.net在打印预览时显示Webbrowsercontrol中的表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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