打印投影和其他 WPF 效果

发布于 2024-11-07 05:00:05 字数 146 浏览 3 评论 0原文

我正在开发一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你列表最软的妹 2024-11-14 05:00:05

您可以渲染 UI位图,然后打印引用该位图的图像。

You could render the UI to a bitmap and then print an Image that refers to the bitmap.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文