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

issue with RenderTargetBitmap() Method for Large Image

$
0
0

Dear All,

Please help, i cant render image having width=94754 and height=79309 using RenderTargetBitmap() Method

Error: Value does not fall within the expected range.

Error Code Lines :

width=94754

height=79309

' --Create a render bitmap and push the _canvas to it

Dim renderBitmap = New RenderTargetBitmap(width, height, 96D, 96D, PixelFormats.Pbgra32)
renderBitmap.Render(_canvasBorder)

Thanks !

VilasM


  


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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