问题
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?
回答1:
You could render the UI to a bitmap and then print an Image that refers to the bitmap.
来源:https://stackoverflow.com/questions/5982306/printing-dropshadow-and-other-wpf-effects