2 Replies Latest reply on Sep 25, 2012 11:30 AM by Yuliaart

    Adding frame in Indd CS5

    Yuliaart Level 1

      I set stroke to 0 and it's still adds black stroke.

       

       

      var myFrame= myDoc.pages[0].rectangles[0];

          if (myFrame.isValid == false){

              myDoc.pages[0].rectangles.add();

              myFrame.geometricBounds = ["-.0625 in","-.0625 in", myPageHeight+.0625, myPageWidth+.0625];

              myFrame.strokeWeight = 0;

              myFrame.fillColor = "None";

             myFrame.strokeColor = "None";

       

      What can I do?

       

       

      Thank you.