Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I use the following sequence :

XML
<Inkcanvas x:Name="First">
    <Inkcanvas x:Name="Second">
         <Image>
    </Inkcanvas>
</Inkcanvas>


I have a problem when I save my image in the C# code (I transform the "First" Inkcanvas) : my image is cut in the bottom (missing the bottom of the image).
If a transform the InkCanvas "Second", the saved image is entire.

Anyone can help me ? Thanks in advance.
Posted
Comments
Ranjan.D 24-Jan-14 11:34am    
Is there a reason why you are trying to embed second Image canvas within First ?
daphne35 25-Jan-14 10:32am    
hello,

I put an image that contains a green object on black background in an InkCanvas to be able to draw over. I also apply transformations to Inkvanvas (crushing, translation).

The fact of using a second InkCanvas allows me to draw in the departure area when the InkCanvas has been reduced and still have a black background behind.

I hope my explanation is not too confusing ...

thank you
daphne35 27-Jan-14 5:18am    
I found the solution myself, I don't use two inkcanvas anymore because I can apply transformations directly on the image...
Thank you anyway.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900