Click here to Skip to main content
15,886,678 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working with Inkcanvas application.I created custom inkcanvas class"mycanvas" .Then I had taken the instances of mycanvas and add them to the stackpanel.Then I have one button on my main window.I want to save the ink canvas coordinates ,mouseup,mouse down events coordinates in one text file.
can u give me guidance please.
Posted
Updated 2-Dec-14 22:20pm
v3
Comments
E.F. Nijboer 3-Dec-14 3:51am    
It is very unclear what this is about. If this a question about code you got from an article here on codeproject, you should post your question there.
pavan kadambari 3-Dec-14 4:14am    
No Iam working with Inkcanvas,I want to save the data in inkcanvases as a coordinates in a text file.

1 solution

Hi,

there already is an article on Codeproject which might help you:

Saving-Rebuilding InkCanvas Strokes[^]

Best regards,
Stephan
 
Share this answer
 
Comments
pavan kadambari 3-Dec-14 5:01am    
I saw it already.They are dealing with microsoft Ink serialized format.I am not using tablet pc.So I want to save the data in text file.So it can work on any platform
TheRealSteveJudge 3-Dec-14 5:29am    
The article gives you a hint that InkCanvas.Strokes Property is a collection
of strokes.
You must iterate through this collection and then save the items
to any text file you like.

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