Text From RichTextBox to PDF? How can I parse it?

Mar 7, 2012 at 8:52 AM
Edited Mar 7, 2012 at 9:01 AM

Hi. I have some problems with drawing text in PDF from RichTextBox in Silverlight. Can I parse paragraph with more then one RUN and draw it like it looks like in SL?

Here is the sample of my Paragraph, which I need to draw in PDF.

<Paragraph FontSize="11" FontFamily="Portable User Interface" Foreground="#FF000000" FontWeight="Normal" FontStyle="Normal" FontStretch="Normal" TextAlignment="Left"><Run Text="Using " /><Run FontWeight="Bold" FontStyle="Italic" TextDecorations="Underline" Text="the Pixel (X) To Centimeter [cm] C" /><Run Text="onverter 3" /></Paragraph>