WALID CHARFI created PDFBOX-2014:
------------------------------------

             Summary: PDAnnotationLink 
                 Key: PDFBOX-2014
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2014
             Project: PDFBox
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: WALID CHARFI


Hi,

I want to draw a text link without any hover effect, neither solid border.
I tried this code but it does not work.
Could you provide me with a solution please? thank you very much.

PDBorderStyleDictionary borderULine = new PDBorderStyleDictionary();
borderULine.setStyle(PDBorderStyleDictionary.STYLE_INSET); 
PDAnnotationLink txtLink = new PDAnnotationLink();
txtLink.setRectangle(position);
PDActionURI action = new PDActionURI();
action.setURI(pdfPara.getUri());
txtLink.setAction(action);
txtLink.setBorderStyle(borderULine);
txtLink.setHighlightMode(PDAnnotationLink.HIGHLIGHT_MODE_NONE);



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to