Skip to main content
Known Participant
November 13, 2016
Question

Annotations and Drawing Mark ups make Read Only?

  • November 13, 2016
  • 14 replies
  • 1795 views

In my form I'd like to be able to make the annotations and mark ups Read Only after I set them on the page. I don't want the user to be able to select the, let's say, the Stamp I set on the page or any other annotations or mark ups I place on the page. I don't mean turning off the annotations tab section. Can someone please help me out? I've searched quite a bit and cannot find anything that would help. Is there a javascript that would do what I want? Can someone let me know? Thanks guys.

This topic has been closed for replies.

14 replies

Karl Heinz  Kremer
Community Expert
Community Expert
November 13, 2016

You can "flatten" your document after you apply your annotations. This will convert the annotations (and any other interactive elements) into static PDF content, After you flatten a document, there is no difference between the PDF content that was in your document before you added the annotations and the flattened annotations.

The JavaScript method that flattens your document (or individual pages) is Doc.flattenPages(): http://help.adobe.com/livedocs/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat11…

pdfUser1Author
Known Participant
November 13, 2016

Hi Karl,

Nice to speak to you again. Thanks for the help. It's interesting and it works. To flatten the entire page, that is, annotations, fields, and buttons. All the fields were "flattened". Would you have any advice as to how to flatten the annotations but not the fields and buttons? Would there be a way to reverse it? Like to toggle the flattening (or read-only to true then to false to make the fields and button accessible again)?