Free hand annotations are invisible after *.xfdf import

Hello to everybody at the support team,

we just noticed some problems with imported annotations. After the import of 3_annotations.xfdf some annotations are invisible (see attached file 5_merged_with_Aspose.pdf).

The same *.xfdf file produces correct results if merged via Adobe Acrobat (see attached file 4_merged_with_Acrobat.pdf)

Example code:

[TestMethod]
public void AnnotationTest()
{
string strSourceFN = @“c:\temp\1_blank.pdf”;
string strXfdf = @“c:\temp\3_annotations.xfdf”;
string strDestFN = @“c:\temp\5_merged_with_Aspose.pdf”;

if (File.Exists(strDestFN))
{
File.Delete(strDestFN);
}

PdfAnnotationEditor editor = new PdfAnnotationEditor();
editor.BindPdf(strSourceFN);
editor.ImportAnnotationFromXfdf(strXfdf);
editor.Save(strDestFN);
}

Aspose.Pdf.dll 9.4.0.0
.net 4.0 Runtime
bugid#5623


Best regards, Martin Pfeifer

Hi Martin,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for .NET 9.4.0, we have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWNET-37242 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,