Free Support Forum - aspose.com

Filling a form field with Rich Text?

Hi, is there a way to fill a form field with rich text? I need to take rich text that’s stored with the formatting from a database and insert it into a PDF form.


For example, the Rich text is stored like this:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\lang1033\f0\fs17 Not Applicable \par }

I’m trying to insert this into a PDF Form that has a field that has the Allow Rich Text Formatting option enabled. However, it just inserts the above as text into the field. Is there any way to get it to interpret it as Rich Text?

Hi Jared,

Thank you very much for considering Aspose.

I’m sorry to inform you that this feature is currently not supported. However, this requirement is already logged as PDFKITNET-12361 in our issue tracking system. Our team is looking into this feature and you’ll be updated via this forum thread once it is supported in our upcoming versions.

We’re sorry for the inconvenience.
Regards,