Product: PDFNet
Product Version: 9.2.7.9274
Please give a brief summary of your issue:
Annotations applied from XFDF file using PDFNet library is not appearing on the converted file. FreeText is missing
Please describe your issue and provide steps to reproduce it:
- I am using below code to apply annotations.
private static void BurnAnnotaions()
{
try
{
FDFDoc fdf_doc1 = new FDFDoc(FDFDoc.CreateFromXFDF(input_path + “Sample.xfdf”));
fdf_doc1.Save(output_path + “V3S Aggremen.fdf”);
using (PDFDoc doc = new PDFDoc(input_path + “V3S Aggrement.pdf”))
{
doc.InitSecurityHandler();
doc.FDFUpdate(fdf_doc1);
doc.RefreshAnnotAppearances();
doc.Save(output_path + “V3S Aggrement Annoted.pdf”, SDFDoc.SaveOptions.e_linearized);
}
}
catch (PDFNetException e)
{
Console.WriteLine(e.Message);
}
}
- Converted file does not show free text.
- When you click on the free text area it shows like below.
- XFDF Content:
Confidential
Confidential
0 0 0 rg /Helvetica 40 Tf
font: Helvetica 40pt; text-align: left; text-vertical-align: top; color: #E44234
Not Required
Not Required
0 0 0 rg /Helvetica 40 Tf
font: Helvetica 40pt; text-align: left; text-vertical-align: top; color: #E44234
Sample Text
Sample Text
0 0 0 rg /Helvetica 40 Tf
font: Helvetica 40pt; text-align: left; text-vertical-align: top; color: #E44234
Please provide a link to a minimal sample where the issue is reproducible: