Thanks a lot Adam for the fast response. I have opened a Jira bug with a sample PDF if anyone wants to follow this : https://issues.apache.org/jira/browse/PDFBOX-943
Best regards , Hesham --------------------------------------------- Included message : > It looks to me like you're doing everything correctly, and Adobe Reader > renders it properly, so it sounds like that a bug with Mac Preview. The > only thing you can do is report it to them and hope they fix it. Setting > the border to zero really should work. > > ---- > Thanks, > Adam > > > > Hello , > > I am trying to create a link with no borders. The link appears and works > perfect in Adobe reader, but in Mac Preview the link appears with a border > around it. Here is my code : > PDAnnotationLink link = new PDAnnotationLink(); > > PDBorderStyleDictionary border = new PDBorderStyleDictionary(); > > border.setWidth( 0f ); > > link.setBorderStyle( border ); > > Can this be fixed to show no border in Mac's Preview ? > > > Best regards , > Hesham > >

