Using the FreeTextAnnotation, I end up with text that has a font size of zero, with a red border. Opening the PDF in Foxit Reader, I can select the annotation, and see the font size is zero. Increasing the font size, I see the text that was added (and it is blue).
How can I make this work correctly? Even if the text is always some default font size such as 10pt, black, without a border, that would be okay for now. I need a fix this week please. Thanks!
Below is sample code that causes the problem. (I am using the evaluation version of Aspose.Pdf if that makes any difference).
’ sample.pdf can be found here: http://samplepdf.com/sample.pdf
Dim pdfFile As String = "D:\tmp\sample.pdf"
Dim pdfDocument As New Aspose.Pdf.Document(pdfFile)
Dim page As Aspose.Pdf.Page = pdfDocument.Pages(1)
Dim pdfFreeText As New Aspose.Pdf.InteractiveFeatures.Annotations.FreeTextAnnotation(page, New Aspose.Pdf.Rectangle(100, 500, 300, 600), Nothing)
pdfFreeText.Contents = "Free annotation test."
page.Annotations.Add(pdfFreeText)
pdfDocument.Save(pdfFile)
Hi Joe,
have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-34494. We
will investigate this issue in details and will keep you updated on the status
of a correction.
apologize for your inconvenience.
This is URGENT – Is there any update as to when this bug will be fixed? I have now purchased the Aspose.Pdf toolkit, and must finish and deliver a project by tomorrow. Thank you!
Hi Joseph,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Well, we are just able to reproduce your issue and based on our development plans, it requires some time for our development team to check the issue in detail (As already shared by Nayyer above). Also, we cannot provide you any timelines for the resolution of the issue until our development team is done with their complete analysis. I am afraid, you will need to wait and spare us some time to further analyze your issue and once the development team shares any feedback, we will update you.
Thank You & Best Regards,
Hi Joseph,
The issues you have found earlier (filed as PDFNEWNET-34494) have been fixed in Aspose.Pdf for .NET 7.6.0.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(10)