Hi
I would like to add some text (like a label) on a InkCanvas with WPF in C# code (not Xaml).
How is it possible ? thanks Jonathan
Hi
I would like to add some text (like a label) on a InkCanvas with WPF in C# code (not Xaml).
How is it possible ? thanks Jonathan
There is a regular Children property: http://msdn.microsoft.com/en-us/library/system.windows.controls.inkcanvas.children.aspx
Check the examples for a code example
Try to implement a custom Stroke class and use Drawingcontext.DrawString method for the same.