Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I develop a program WPF in C# with ink canvas. Presently I can use the stylus to draw text, highlight and erase. I want to be able to write some text in the canvas and that text will be passed in a recognized engine and finally replaced by the recognized text. I don't want to use the textblock to store the text recognized because I want to be able to erase or highlight a part of the recognized text with the stylus.
Any idea or sample?

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 13-Oct-14 21:28pm    
Do you use WPF Ink Analysis assemblies (IA*)? Everything else is not a problem...
When you say "highlight or erase", it's not clear where, in the ink source, or text. Anyway, if you want to recognize text, you need to store the result of recognition somewhere. This is not related to using TextBlock or any other UIElement...
—SA
Member 8037220 14-Oct-14 21:25pm    
I use 'Microsoft.Ink'. Presently I display a preprint form in an InkCanvas and I can draw text(handwriting) on defined zone over the form. I want to be able to draw text then the text will be replaced by the recognized value. As an example I could manually write a word and it would be replaced by the same word in block letters.
Sergey Alexandrovich Kryukov 14-Oct-14 21:34pm    
This is quite possible. The only problem I can see: what is "replaced"? You ultimately need to present the result of recognition as Visual. If you find it out, you can make everything else. Ink objects can be stored linked with recognized text and these visual objects.
—SA

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