WPF InkCanvas and DynamicRenderer

Abraham Carrillo 36 Reputation points
2021-03-18T03:46:17.153+00:00

I have a wpf application in which I use an inkcanvas, I generate a video of the strokes in the inkcanvas, using the RenderTargetBitmap of the InkCanvas as frames. My problem is that when using a touch screen, the stroke of the InkCanvas is not updated until the user lifts the Stylus, and in the RenderTargetBitmap the entire stroke appears from one frame to another. I understand this is due to the DynamicRenderer. Is there a way for the InkCanvas to see the stroke as it is being made?

Developer technologies | Windows Presentation Foundation
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.