3 Replies Latest reply on Oct 16, 2014 5:30 AM by Murali_Vetha

    Apply OverprintFill option for all Paragraph and Character Styles

    Murali_Vetha Level 1

      Hi

       

      How can I apply OverprintFill option into all paragraph and character styles in the javascript. See below my coding

       

      jsx.Coding:---

       

      var mypstyle = app.documents.item(0).paragraphStyles.everyItem().getElements();

           for  (i=0; i<mypstyle.length; i++)

                {

                     mypstyle[i].overprintFill = true;

                 }

      alert("Done")