Skip to main content
Inspiring
Oct 26, 2017 3:46 AM UTC
Answered

Overlay an annotation on top of a field object

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!

This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
Oct 27, 2017 7:43 AM UTC

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.

5 replies

Inspiring
Oct 26, 2017 3:50 AM UTC

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.

Translate
DHeadrickAuthor
Inspiring
Oct 26, 2017 10:32 AM UTC

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.

Translate
Inspiring
Oct 27, 2017 7:31 AM UTC

I was talking about when someone uses the document. I was mostly thinking about fields, as opposed to others types of annotations.

Translate