Using large size artboard will scale the item?
Copy link to clipboard
Copied
I created a large size artboard and inserted a rectange, I found the size of rectange will be scaled by 10 times.
var app = new Illustrator.Application();
var doc = app.Documents.Add(
Illustrator.AiDocumentColorSpace.aiDocumentCMYKColor,
27040,
14810);
var item = doc.PathItems.Rectangle(762.5, 87.5, 300, 100); // width 300pt
the width of the rect is 3000pt but it should be 300pt.
Explore related tutorials & articles
Copy link to clipboard
Copied
Hi @LoveYou阿逗逼6666, yes this is how Large Size Documents works from the scripting API point of view. In Large Size Documents you must take the Document.scaleFactor into account to calculate final sizes. - Mark
Copy link to clipboard
Copied
you are right! can i disable the scale feature?
Copy link to clipboard
Copied
I think you must make a new document that isn't as large. There is a threshold where if you make the document size too large it becomes a "Large Document".
Copy link to clipboard
Copied
Here is info about Large Canvas. - Mark

