Sample code to rotate caption on a Line object (WPF .NET project)



I just downloaded the WPF C# .NET package and started working with the .NET project:


I opened a PDF and started drawing lines on the PDF and noticed that the hard-coded string I add for the line Content:

line.SetContents("This is a test");

was printed upside down when I drew the line from right to left. Is there any to rotate the text? Didn't see anything in the API that jumped out at me as the way to go.

I would like to show the caption text within the Line the same it would look if I drew the Line from left to right.

Some code and guidance would be great

Thanks in advance