Copy link to clipboard
Copied
I'm looking to reposition a graphic, I want it centered horizontally in the frame, positioned to the top of the frame. I am not sure which property of which element I need to fix this.
Also, when I'm done I want to fit the frame to content.
If anyone can point me in the right direction, it would be greatly appreciated.
I figured it out.
I was looking for a property to set, I need to use the graphic.move() command.
Copy link to clipboard
Copied
Have you tried building an Object Style?
Copy link to clipboard
Copied
I really need to do this in the Javascript; this is a program which will need to apply to many files that I will be receiving, and i will need to do other things which require me to reposition links in code, so a style will not be applicable in all cases.
Edit: I have the fit to contents working, I just need to know how to reposition a graphic within a frame
Copy link to clipboard
Copied
I figured it out.
I was looking for a property to set, I need to use the graphic.move() command.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more