Getting Rounded Corners on Highlight Annotation

After creating a highlight annotation in a PDF and setting the radius to zero, I’m seeing rounded corners on the horizontal when viewing the PDF in Acrobat Reader, but don’t see them using Foxit Reader. ??? Why is that? Here is a snippet of the code I’m using to create the highlight annotation.

Dim pdfHighlight As New Aspose.Pdf.InteractiveFeatures.Annotations.HighlightAnnotation(page, New Aspose.Pdf.Rectangle(llLeft, llBottom, llRight, llTop))

pdfHighlight.Modified = CDate(lsModifiedDate)
pdfHighlight.Color = Aspose.Pdf.Color.FromRgb(backgroundColorSystem)
Dim border As New Aspose.Pdf.InteractiveFeatures.Annotations.Border(pdfHighlight)
border.HCornerRadius = 0
border.VCornerRaduis = 0
border.Width = 0
page.Annotations.Add(pdfHighlight)

Hi Joe,


Thanks
for contacting support.

I
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-34497. We
will investigate this issue in details and will keep you updated on the status
of a correction.

We
apologize for your inconvenience.

The issues you have found earlier (filed as PDFNEWNET-34497) have been fixed in Aspose.Pdf for .NET 7.9.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.