Illustrator脚本开发文档集合
发布时间:2024-11-08 10:42 [ 我要自学网原创 ] 发布人: 快乐小女 阅读: 484

// app.documents.add(DocumentColorSpace.RGB, 100, 100, 5)

var set = new DocumentPreset()
set.colorMode = DocumentColorSpace.RGB // 颜色模式
set.width = 100 // 默认画板宽
set.height = 100 // 默认画板高
set.numArtboards = 5 // 画板数量
set.artboardSpacing = 20 // 画板间隙
set.title = "我的新文档1" // 文档标题
set.units = RulerUnits.Pixels // 单位
/**
* RulerUnits 参数:
* Centimeters 厘米
* Inches 英寸
* Pixels 像素
* Millimeters 毫米
* Unknown 未知
* Picas 派卡,是一种用于测量长度的单位,主要用于印刷领域。它的定义是一定的纸张尺寸中的一个固定比例,通常与特定的字体尺寸相关联。
* Points 点
* Qs: Ha 是面积单位公顷(hectare)的英文缩写。
*/
set.rasterResolution = DocumentRasterResolution.ScreenResolution // 光栅效果
/**
* DocumentRasterResolution 参数:
* ScreenResolution 屏幕72ppi
* MediumResolution 中150ppi
* HighResolution 高300ppi
*/



app.documents.addDocument("Web", set)

Illustrator脚本开发教程
我要自学网商城 ¥70 元
进入购买
文章评论
0 条评论 按热度排序 按时间排序 /350
遵守中华人民共和国的各项道德法规,
承担因您的行为而导致的法律责任,
本站有权保留或删除有争议评论。
参与本评论即表明您已经阅读并接受
上述条款。
V
特惠充值
联系客服
APP下载
官方微信
返回顶部
分类选择:
电脑办公 平面设计 室内设计 室外设计 机械设计 工业自动化 影视动画 程序开发 网页设计 会计课程 兴趣成长 AIGC