打印表格
问题描述:
当我打印Windows窗体时,并非所有页面都会被打印.
hi there when i print the windows form it is not all page will be printed.
any one knows how to fix this?
答
如果您编写自己的打印代码,则可以完全控制打印过程并按照自己的喜好进行打印.如果您要打印表格,并且该表格具有可滚动的区域,则不可见的部分不会在任何地方渲染,那么您将不得不编写打印代码以将整个表格渲染到打印机上,不仅打印表单(仅由可打印区域组成)
If you write your own printing code, then you can take full control of the printing process and print whatever you like. If you''re trying to print the form, and it has a scrollable area, the part that is not visible is not being rendered anywhere, you''re going to have to write print code to render the whole form to the printer, not just print the form ( which only consists of the printable area )