1 Reply Latest reply on May 21, 2010 8:43 PM by milligramme

    Fill color to none   InDesign CS4 js

    Yuliaart Level 1

      Hi, is it possible to set fill color of new rectangle to none. Here what I have so far:

       

      var myBleedGuide = myDoc.pages[0].rectangles.add (myDoc.layers.item ("INSTRUCTIONS (TURN OFF)"));
      myBleedGuide.geometricBounds = ["0.0625 in", "0.0625 in", myPageHeight -  0.0625, myPageWidth -  0.0625];
      myBleedGuide.strokeColor = myDoc.colors.item("DarkGreen");
      myBleedGuide.strokeWeight = "1pt";
      myBleedGuide.strokeType = "Dashed";
      myBleedGuide.strokeDashAndGap = ["2 pt", "3 pt"];
      myBleedGuide.fillColor = none //  ?;
      

       

      Thank you very much for your help.

      Yulia