I have a WPF user control that I want to print. I am able to do that with XpsDocumentWriter. Now I would like to apply a pixel shader effect. I can see the effect has been applied on the control. However when I try to print it, the output is the same as the one without the effect. Is it possible to print shader effect? Thanks.
Previous identical questions of StackOverflow have indicated that this is not possible:
Printing dropshadow and other WPF effects
The best solution to this problem is to render the UI to a bitmap and then print an Image that refers to the bitmap.