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

,

Hi,

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

PDFViewWPFTestCS2013

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.SetShowCaption(true);
line.SetCaptionPosition(Annots.Line.CapPos.e_Inline);
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