Copy link to clipboard
Copied
What is the javascript for this
As per https://helpx.adobe.com/in/illustrator/using/rotate-view.html
Thanks
See this post:
app.activeDocument.activeView.rotate = 45; // degrees clockwise
Copy link to clipboard
Copied
View objects don't have a rotate function. The closest I can think of is rorating everything (artboard and artwork) multiples of right angles:
Copy link to clipboard
Copied
Yes I read it as a rotate function too, but actually it's a property, which I guess makes sense.
Copy link to clipboard
Copied
See this post:
app.activeDocument.activeView.rotate = 45; // degrees clockwise