Click here to Skip to main content
15,949,741 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I presently develop a program in WPF using Inkcanvas control for handwriting with highlight and erase features. I want to be able to draw printed text in the Inkcanvas but not using something like Textblock because I want to be able to highlight or erase some characters of the printed text.

Thanks for your help,

Harold
Posted
Updated 8-Jan-17 23:49pm
Comments
Sergey Alexandrovich Kryukov 26-Jun-13 22:58pm    
The problem is not clear. What is "something like", except the TextBlock, why not? what's the problem of using anything else?
—SA

1 solution

I want to use InkCanvas kind of functionality in WPF canvas, means I want to draw a free hand line or text on Canvas. Ultimately I want to draw text with the pencil and an algorithm of style 'InkRecognition' will convert freehand text in printed text directly in the canvas. Using the eraser I can be able to erase some characters and possibly replace with preprint text or freehand characters.
If I am using textblock for the printed text I won't be able to write over the text or erase characters using the eraser.
 
Share this answer
 

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