I can't seem to remove the border on a rectangle! See code below, I am creating a link using a PDFannotation. The links all work but each rectangle has a border.
PdfAnnotation annotation;
Rectangle rect = new Rectangle(xOffset, yOffset, xOffset + tab.getScaledWidth(), yOffset+tab.getScaledHeight());
rect.setBorder(Rectangle.NO_BORDER);
annotation = PdfAnnotation.createLink(writer, rect, PdfAnnotation.HIGHLIGHT_NONE, PdfAction.gotoLocalPage(section.GetStartPageIndex() + 1,destination, writer));
stamper.addAnnotation(annotation,i);