Illustrator CS6- How do I draw a rectangle to perfectly fit my artboard?
Is it possible to drag a rectangle to fit my template? I already have bleed markers in a layer for guides, but I want the general background to look a color other than white.
- Switch to the Artboard tool (Shift+O)
- Note the
Hmeasurements in the Control Panel across the top of the screen
- Grab the Rectangle Tool and click once on the artboard (just click, no drag)
- This brings up the Rectangle Options dialog. Input the
Hmeasurements you noted from the artboard
- Set the Align panel to
Align to Artboard
- Click the
Center Verticalbuttons on the Align Panel.
That will create a rectangle the same size as the artboard then align it to the artboard.As far as I'm aware, this the best you'll get. There's no automated method to create a rectangle at the artboard bounds.
or use this script that draws a rectangle on the active artboard
var idoc = app.activeDocument; var r = idoc.artboards[idoc.artboards.getActiveArtboardIndex()].artboardRect; idoc.pathItems.rectangle(r, r, r-r, r-r);