Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am saving the StrokeCollection From InkCanvas was Result in Unsupported format. following is the code i am using:
C#
signatureOutStream = new FileStream(newSignImageDirectory + "\\newSign.jpg", FileMode.Create);
    _Signature.Save(signatureOutStream);// here _Signature is the stroke collection
    _Signature.Clear();
    signatureOutStream.Close();
    signatureOutStream.Dispose();


A file is generating But is not able to open. What i am doing wrong?
Posted
Updated 29-Mar-15 2:24am
v3
Comments
Kornfeld Eliyahu Peter 29-Mar-15 6:49am    
What file? In your code you are using a memory-stream...
Sujith Karivelil 29-Mar-15 8:23am    
Please see the updation
Kornfeld Eliyahu Peter 29-Mar-15 8:28am    
Check this out: http://www.codeproject.com/Articles/19102/Adventures-into-Ink-API-using-WPF

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