开发者

Printing dropshadow and other WPF effects

开发者 https://www.devze.com 2023-03-05 05:56 出处:网络
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

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 guess开发者_运维百科ing it has something to do with the lack of pixelshader built into printers. Any suggestions for a fix or workaround?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号