[ 
https://issues.apache.org/jira/browse/PDFBOX-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Hewson closed PDFBOX-2014.
-------------------------------
    Resolution: Invalid

Closed, as this is a "how to" question.

> PDAnnotationLink 
> -----------------
>
>                 Key: PDFBOX-2014
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2014
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Writing
>    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.3.4#6332)

Reply via email to