2 Replies Latest reply on Nov 5, 2012 9:54 PM by Lev Ger

    How to reset zero point

    Lev Ger Level 1

      I am writing a script that resizes page boxes and I am getting some strange phenomena. Somehow, if I do getPageBoxes() after I run my script I get something like [-3, 854, 674, -3]. This is confusing as I am changing boxes based on the media box, and since the bottom left corner is supposed to be 0, I don't understand how I could be getting minus values. Does anyone know how I can reset the zero point with javascript?