I need to pass DrawingBrush to a method in a third-party DLL which displays an image somewhere in the application. I can't modify this.
I need to create a DrawingBrush from an BMP Image. I tried this example but it doesn't work.
Any help would be appreciated.
It should work.