I want to save my canvas to bitmap. I found some examples in internet, but all of those saves only black image (with size of my canvas). What can I do with this?
Co
In my render-code i call target.UpdateLayout(); after target.Arrange(new Rect(size));, maybe that will fix it. Also note that if the canvas background is not set it will be rendered as transparent, while encoding to BMP that might turn into solid black, so if you only have black objects they might be invisible.