Sg2.9
Get document size (in mm)?
Recent RSS
Get document size (in mm)?
From:  Alessandro
Date:  27. March 2008, 23:23

Hi all,
I create a new document and I want to get the document size (height and width) in millimeters because I need those dimension to create automaticly a golden section grid.
is it possible?

with myDoc.size I get only point dimension, but I need mm dimensions,

otherwise how is possible to set new document size in mm with (in this case the variables width and height):
myDoc = new Document("griglia"+i, width, height, Color.MODEL_CMYK, Document.DIALOG_OFF);

thank you in advance for your help!

Re: Get document size (in mm)?
From:  Alessandro
Date:  28. March 2008, 12:18

yesterday I've tried it but I didn't know why it'doesn't work...
today this conversion works!
I think yesterday was too late too work...
thank you really much!

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Transform Each 08.01.12