5 Replies Latest reply on Jun 10, 2010 5:28 AM by Harbs.

    pageItem.strokeWeight = 0 does not work for : ...

    daniel.luecke

      I try to set the stroke weight of a page Item to 0:

       

      pageItem.strokeWeight = 0;

       

      This does work, if the pageItem is an unfilled rectangle.

       

      Once I start filling it or if the pageItem is a TextFram or an image will be placed in it, the stroke will be 1 pixel.

       

      BUT, if i try to set the strokeWeight to 4 pixel - it will work.

       

      I have the feeling, that I have to set the strokeColor to None to achieve what I want, but I dont know how.

       

      pageItem.strokeColor = "None";      --> does result in a compileTime Error.

       

      Although the documentation states, that strokeColor accepts a String....

       

      Who can help?