2 Replies Latest reply on Feb 21, 2013 9:14 AM by Alex Troyanskij

    Easy question: How to set correct rect to the artboard?

    Alex Troyanskij

      Hi there! Can anyone tell me what does each item of artboardRect array mean?

      And how to set x = 0, y = 0, width = 72, height = 72 to the artboard bounds?

       

      doc.artboards[0].artboardRect = [0, 72, 72, 0] gives unwanted result:

      Screen-Shot-2013-02-21-at-7.01.44-PM.png

      Meanwhile any other combinations of 0 and 72 in [0,72,72,0] causes error MRAP.

       

      Appreciate any help!

       

      Best regards,

      Alex