• You must be logged in to reply to this topic.Login

strokeWeight is naughty?

Tagged: 

Return to InDesign Add-ons (Scripts, Scripting, and Plug-ins)

  • Author
    Posts
    • #114600
      Tamás Nagy
      Participant

      Hi friends,

      now I work in CC2017 and I’m trying to create a new rectangle with no stroke at all in JavaScript. R is the variable that holds the newly created rectangle. I tried this:

      R.strokeWeight=0;

      and later this:

      R.strokeWeight=”0 pt”;

      but both resulted in a 1 point stroke. The interesting thing is that before this line the stroke was 0 by default, so exactly this line caused it to be 1 point. How is it? :)

      Tamás

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Forum Ads