How to add text to path?
- by Pritorian
Hi all. Te question is how to add text to path element. For example, I have path:
Path firstPath = new Path();
firstPath.Stroke = Brushes.Black;
firstPath.StrokeThickness = 1;
myCanvas.Children.Add(firstPath);
LineGeometry firstLine = new LineGeometry();
firstPath.Data = firstLine;
And somewhere…