打印投影和其他 WPF 效果
我正在开发一个 WPF 应用程序,用户可以在其中打印多页报告。我正在使用 DocumentPaginator,它在大多数情况下运行良好。直到我引入任何类型的效果,例如内置阴影或我拥有的亮度/对比度效果。我猜测这与打印机中缺少内置的像素着色器有关。对于修复或解决方法有什么建议吗?
I am working on a WPF application where the user can print multipage reports. I am using the DocumentPaginator which is working well for the most part. That is until I introduce any sort of effect such as the built in dropshadow or a brightness/contrast effect I have. I am guessing it has something to do with the lack of pixelshader built into printers. Any suggestions for a fix or workaround?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以渲染 UI位图,然后打印引用该位图的图像。
You could render the UI to a bitmap and then print an Image that refers to the bitmap.