Copy link to clipboard
Copied
Is there a way to fit an image, vector, or object to the size of the artboard? I know you can do the opposite, where the artboard adjusts to the selected object, but I need to do the reverse. Thanks a lot for any answers.
Copy link to clipboard
Copied
Hi @Hanschrs,
I usually just select the object (or object group) and use the transform panel to key in the artboard size. Click on the chain link to keep your object scaling proportionately.
Copy link to clipboard
Copied
You could check out the Fit Selection to Artboard script: https://github.com/creold/illustrator-scripts/blob/master/md/Item.md#fitselectiontoartboards
Copy link to clipboard
Copied
I just found a very useful and simple script. Check it out
https://github.com/andrewcockerham/Adobe-Illustrator-Scripts/blob/master/fitObjectToArtboard_v2.jsx
Copy link to clipboard
Copied
@Hanschrs I would recommend the script Monika posted because I believe it handles clipping masks correctly.
- Mark