We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Rich text box html support issue


Am using below code to display the richtextbox with html format string.

but i am not able get it.

Aspose.Pdf.Forms.RichTextBoxField textBoxField = new Aspose.Pdf.Forms.RichTextBoxField(pdfPage, new Aspose.Pdf.Rectangle(contentData.Left, contentData.Width, contentData.Right, contentData.Bottom));
//create partial Name
textBoxField.PartialName = strTextBoxName;
textBoxField.RichTextValue = contentData.Text;
//textBoxField.FormattedValue = contentData.Text;
textBoxField.Multiline = true;
return textBoxField;
<font size = 14 color =
“#000000FF” face = “Arial”>se consum pula orsu vehebatis,
fica Si pris bon sus si coeremque
auderces escienat C. Tod rem
pubi senihilinum o condachicae
iam in ta qua nituawm ta, urit?
Um viuroret vidi, quo nestra

i am get the pdf like attached image and also it is hide when i click that portion.

please provide any sample code to achieve this.

Hi there,

Thanks for your inquriy. I have tested the scenario and noticed that your shared HTML is not rendering as expected in a RichTextBoxField, so logged a ticket PDFNET-42190 in our issue tracking system for further investigation and rectification. We will notify you as soon as it is resolved.

We are sorry for the inconvenience.

Best Regards,

is there any alternative way to achive this one?

Shanmuga sundaram C

Hi Shanmuga,

Thanks for your feedback. I am afraid we can not suggest you any workaround at the moment. Please wait for the issue investigation so we will be in a good position to share any ETA/Workaround.

Thanks for your patience and cooperation.

Best Regards,