Copy link to clipboard
Copied
Hi,
First, let me apologize because this question is basically a duplicate of question 9881727, which was asked a couple of weeks ago. However, it was never answered.
I'm using Acrobat Javascript and creating both annotations and field objects, e.g. buttons and text boxes. The field objects always obscure the annotations. Stated another way, the field objects are on top of the annotations.
Question: Is there any way to make annotations visible whenever they overlap field objects? Perhaps some programmable Z-order property for either annotations or field objects?
Note that I don't need alternative programming suggestions in order to avoid this issue, I just need to know if an annotations can ever be made visible when they overlap a field object? Note that my field objects are NOT transparent, i.e. they are solidly colored.
Thanks for your help!
Z order is not a concept for annotations and form fields. Results are unpredictable, change between software and versions. If you want consistent display you must eliminate overlap.
Copy link to clipboard
Copied
There is no guarantee, especially if the object (annotation/field) can receive the focus. Also, different viewers may (and do) behave differently. In general though, when an annotation receives the focus, it will appear to be on top of any others.
Copy link to clipboard
Copied
Thanks for your reply.
When you say "In general though, when an annotation receives the focus, it will appear on top of any others", are you talking about when I'm EDITING my PDF?
I'm not concerned about editing my PDF, I'm concerned about what customers will see when they open the PDF. My document will be secured and the customer cannot edit it. Is there any way for me to specify that a certain annotation will appear on top of a certain field object? Or will annotations always be obscured by field objects?
Also, you indicated "different viewers may (and do) behave differently". I presume, by "viewers", you mean programs like Adobe Reader. In my case, the use of Adobe Reader and only Adobe Reader will be required.
Thanks for your further thoughts.
Copy link to clipboard
Copied
I was talking about when someone uses the document. I was mostly thinking about fields, as opposed to others types of annotations.
Copy link to clipboard
Copied
Z order is not a concept for annotations and form fields. Results are unpredictable, change between software and versions. If you want consistent display you must eliminate overlap.
Copy link to clipboard
Copied
Thanks for everyone's replies. I'm marking Test Screen Name's answer as the correct answer since it most clearly says there is no way to reliably ensure how overlapped annotations and form fields are displayed.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now