Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
PDF Export removing text when using IText.AddRichContent method
posted

Hi,

   While using IText.AddRichContent method, the line breaks are not maintained in the pdf file generated. In addition if using the left hand angle bracket < it is causing it to think it is a HTML open tag and is cutting off any text after that point.

So if the actual  content is :

Hi
This is a new Line.
<Thank you> for using the service.
<i>Another New Line.</i>

The pdf file will have the content printed as :

Hi This is a new Line. for using the service. Another New Line.


The documentation mentions AddRichContent method only supports few tags. Is there any workaround these issues.


Parents Reply Children
No Data