Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Cannot have more than 4000 BitmapCacheBrush

$
0
0

Hello,

Sorry for my bad english.

I cannot create more than 4000 BitmapCacheBrush. I think it's because there is a limit of 10000 GDI handle per process.

There is no error, but the application block.

The MSDN don't say anything about this limit (it should at least). Is there a workaround ?

Am I wrong if I say that BitmapCacheBrush use RenderTargetBitmap ? Which is bugged (see my last post at https://social.msdn.microsoft.com/Forums/vstudio/en-US/e6713faa-2d0d-4f28-b6b7-4e5213253538/releasing-rendertargetbitmap?forum=wpf).

Thank you for your help.


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>