打印预览C#的GDI限制 [英] GDI Limitation for Print Preview C#

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

问题描述

这一次,我的问题是我试图在printpreview中显示一个报告,但是此报告有9,000多页,并且当预览在5,000页左右进行处理时,它将停止工作.我已经读到GDI支持10,000个对象,每个报告页面使用2个对象,所以我认为可能无法显示我的报告,所以我想问问您是否可以帮助我显示此报告,还有另一种方法显示它不使用GDI?或可能是类似GDI的东西?很好,非常感谢!

Well this time my problem is that I''m trying to display a Report in printpreview but this report has over 9,000 pages and when the preview is processing around the 5,000 page, stops working. I''ve read that the GDI supports 10,000 objects and each report page uses 2 objects, so I think it might be imposible to display my report so I want to ask you if you could help me to display this report, is there another way to display it not using GDI? or may be something like GDI? well thank you very much!

推荐答案

查看
Look at this MSDN article regarding a registry entry for the maximum number of per-process GDI objects. Post Win 2000 seems to have a limit of 65,536 objects.


谢谢.我已经看到了该解决方案,现在我只是在寻找在Windows 7中更改GDI限制的方法
Thanks. I''ve already saw that solution, right now I''m just finding the way to change GDI limit in Windows seven


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

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