How to save a canvas having more than one image to the picture library in windows store app using c# and xaml -
i creating application windows 8 store app using c# , xaml.i have used canvas more 1 images added want t save canvas picture library .
thanks :)
you can use winrt xaml toolkit's composition library. build ui display on screen, call measure
, arrange
on root element size output image dimensions , use 1 of extension methods - writeablebitmaprenderextensions.render()
or .rendertopngstream()
render writeablebitmap
or memorystream
respectively. can save bitmap or stream file if enable pictures library access capability in app's manifest.
Comments
Post a Comment