Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否可以使用自定义脚本从 InDesign 元素中的 ImageElement 获取旋转值?我是 InDesign 服务器脚本的新手,但如果可能的话,我已经开始学习了。
希望这会有所帮助...这将获取所有图像的旋转角度。
var pageItems = app.activeWindow.activePage.allPageItems; var itemsCount = pageItems.length; for(var i=0; i<itemsCount; i++) { if(pageItems[i] instanceof Image) { var graphic = pageItems[i]; var rotation = graphic.rotationAngle; } }