Skip to main content
stevenh88507889
Participant
January 13, 2018
Answered

Lock Buttons in Adobe DC

  • January 13, 2018
  • 3 replies
  • 1185 views

I have a PDF with buttons that allow the user to click them and insert an image as an icon within the button. I now want to lock these buttons so the images can no longer be changed. What's the best way to do this? I have looked into flattening the file, but I can't seem to do it. I'm running Adobe DC, and under "Save as other" I do not have the option to "Optimize PDF", which is how I understand you would typically flatten a file. Any assistance is greatly appreciated!

This topic has been closed for replies.
Correct answer Thom Parker

Download the free flattener tool here:

Free Acrobat Automation Tools

3 replies

Participant
March 6, 2018

can u give more detail

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
January 15, 2018

Download the free flattener tool here:

Free Acrobat Automation Tools

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
stevenh88507889
Participant
January 18, 2018

Thanks, worked great!

try67
Community Expert
Community Expert
January 13, 2018

That's not how you flatten a file. This is how you do it (but it will only work in Acrobat, not in the free Reader):

Execute the following JS code:

this.flattenPages();