Hello -
I have an issue with a particular PDF file where values that I write into a TextBoxField are not visible when viewed with Adobe Reader. Please help!
I have attached the PDF file in question. The field that does not get written is “Last Name (Family Name).” Here is some sample code:
Aspose.Pdf.License _license = new Aspose.Pdf.License();
_license.SetLicense(“Aspose.Pdf.lic”);
using (var _sourcePdf = new Aspose.Pdf.Document(“eefedi9.pdf”))
{
List<Aspose.Pdf.InteractiveFeatures.Forms.Field> _fields = _sourcePdf.Form.Fields.Where((w) => w.GetType() == typeof(Aspose.Pdf.InteractiveFeatures.Forms.TextBoxField)).ToList();
_fields[3].Value = “Draper”;
_sourcePdf.Save(“test123.pdf”);
}
someone help please! bump
Hi Justin,
Thanks for using our API’s.
I have tested the scenario and I am able to notice the same problem. For the sake of correction, I have logged this problem as PDFNEWNET-39088 in our issue tracking system. We will further look into the details of this problem and will keep you updated on the status of the correction. Please be patient and spare us a little time. We are sorry for this inconvenience.
@justin.kloos
We have investigated the ticket and found that the PDF was protected by the creator of it. Please check the PDF file properties.