WPF InkCanvas and DynamicRenderer

Abraham Carrillo 31 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?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,671 questions
{count} votes