I think this is related to https://issues.apache.org/jira/browse/PDFBOX-3929 
reported on my behalf.

That is, Adobe Reader only recognizes integer values, and their UI calls them 
thin, medium, thick.

I forget what happens if you try 4 or more.

Gary

-----Original Message-----
From: Tilman Hausherr [mailto:[email protected]] 
Sent: Tuesday, November 14, 2017 2:16 PM
To: [email protected]
Subject: Re: PDAnnotationLink visibility issues

I know only getBorder() and getBorderStyle().

What "Border Width" item do you mean?

Tilman

Am 14.11.2017 um 13:35 schrieb Gilad Denneboom:
> Hi all,
>
> Just wanted to report something I stumbled upon today that was causing 
> me a lot of confusion and headaches when working with Link objects.
> I was trying to find the equivalent to the "link type" property that 
> Acrobat uses (ie, Visible Rectangle or Invisible Rectangle).
> Looking at the PDAnnotationLink object I saw two very similar-sounding 
> methods, isInvisible and isHidden (both inherited from PDAnntation), 
> but it turns out that neither of them corresponds with this property.
> So I did some further research into the border cos object and found 
> that the actual property used by Acrobat is the Border Width (0 = 
> Invisible, 1 = Thin, 2 = Medium, 3 = Thick).
> Might be a good idea to add this information somewhere in the API 
> Reference...
>
> Gilad
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to