I have text that I am pulling from a database formatted in HTML. I need to populate this to a PDF field as RTF. I can’t seem to find a way using Aspose to do so, is this possible?
I am afraid that your inquiry is not clear enough.
Do you mean to populate this text in a form field in its original form? OR you need to render HTML string in PDF Page so that HTML tags will be honored and format the text? It would be helpful if you can please share a sample expected output with us. We will test the scenario in our environment and address it accordingly.
Thanks for your reply. “you need to render HTML string in PDF Page so that HTML tags will be honored and format the text” was correct. I ended up utilizing a RichTextBoxField to populate the FormattedValue with text + XML markup.
Would you kindly share the source files and code snippet that you are using to perform the required functionality. We will test the scenario in our environment and address it accordingly.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.