5 Replies Latest reply on Aug 17, 2016 2:22 PM by George_Johnson

    Make layers name in the layers palette invisible

    yorks11266663

      Hi all,

      on

      https://acrobatusers.com/tutorials/creating-and-using-layers-ocgs-with-acrobat-javascript

      Thom Parker describes, how to make hidden layers visible in the layers palette with the JS-Code:

       

      this.getOCGs();

       

      But how can I make the layer name in the layers palette invisible again? What is the JavaScript-Code so that I can do it vice versa or that I can undo it?

      I can't find anything about this in the literature.

       

      Thanks for a helpful tip,

      Yosimo