Working With Artboards
Artboards are a unique and powerful feature of Illustrator. The artboard works just like a piece of paper would on a physical desk. For example, if you were creating a collage, you could put elements you are not currently using on your desk outside of the bounds of the paper. They are still close for easy access, but they don’t interfere with the artwork taking shape on the document. Illustrator works in a similar way.
When you create a new document, you have an artboard in the middle of a large workspace. Any graphics you place on the artboard itself will appear in the final design. Anything outside its bounds will not appear when you print, export, or save as a PDF. It’s a great way to keep all of your assets in one file rather than scattered across separate files on your hard disk, or in hidden layers that become hard to manage. What’s even better is that you can have multiple artboards in one Illustrator document. You’ll find this feature very powerful when you’re creating user interfaces or building website designs, because it lets you keep an entire site in one file.
Opening a New Document
Let’s create a new document to check out all that the workspace has to offer.
- Choose File > New (Cmd-N/Ctrl-N).
You’ll see a dialog that has options for your new document (Figure 3.5). Here you’ll have the opportunity to name your file and choose a profile. Illustrator has several built-in profiles for you to use as a starting point.
- Select the Web profile.
Notice several differences between the Web and Print profiles: The document units are pixels instead of points, and the artboard has been conveniently adjusted to a common size for a browser window.
- Change the dimensions of the artboard by either selecting a preset from the pop-up menu or typing a width and height manually.
- Click the triangle to the left of the Advanced section to open it (Figure 3.6).
This section of the dialog is where you can set the color mode (CMYK or RGB), screen resolution for raster effects (we’ll look at how to use these effects later), and preview mode for the document.
The next two settings are ones that I have found to be very useful for UI design.
- Change Preview Mode to Pixel.
Pixel preview lets you view your art like it was a pixel program instead of a vector program. It shows how your artwork will be anti-aliased when viewed at 72 ppi, which is the resolution graphics will be when exported from the program. You’ll feel really comfortable in this mode if you are used to working in Photoshop.
- Deselect “Align New Objects to Pixel Grid” and click OK.
Why not align objects to the pixel grid? It’s all about control. By letting Illustrator decide where your objects fall on the grid, distortions could (and do) occur. There are times when it is appropriate to use this feature, but I recommend enabling it only when you need it.
Saving New Profiles
The profiles included with Illustrator are limited to some of the most popular devices on the market today. Notably missing from the list is the iPhone 4 with its retina display resolution. If the iPhone’s 640×960 is a screen size you use often, you can create your own profile:
- Create a new document and use 640×960 as the dimensions.
- On a Mac, save your document to Hard Drive:Users:[user name]:Library:Application Support:Adobe:Adobe Illustrator CS5:[language]:New Document Profiles. In Windows, save your file to C:\Documents and Settings\[user name]\Application Data\Adobe\Adobe Illustrator CS5 Settings\[language]\New Document Profiles.
If you’re a Mac OS X Lion user, you’ll find that the Library folder is hidden. To access it, perform the following steps:
- Open a new window from the Finder.
- Open the Go menu on the menu bar, and then press the Option key. Your Library folder will magically appear.
- Click the Library folder to open it, and then drag it to the sidebar in the Finder window. Now when you save a file, you’ll have easy access to the Library.
Behold the white rectangle in the middle of the screen (Figure 3.7). This, my friend, is the artboard. Illustrator uses this metaphor as its working space. As I stated previously, the artboard is really just like a piece of paper sitting on your desk. You can draw on it, paint it, erase stuff from it, and move it around. At times I think Adobe should add the ability to crumple it up and toss it into the wastebasket, but I digress…
For those of you coming from Photoshop, the artboard is fundamentally different from Photoshop’s canvas. First of all, it’s another object on the screen you can edit without affecting the artwork itself. You can resize it, rotate it, duplicate it, and remove it. It’s pretty versatile.
Second, the artboard acts a container for your design, allowing you to place unneeded elements outside its bounds without having to delete them or toss them into hidden layers. Anything outside the artboard bounds stays out of your printed or exported files.
Finally, you can have more than one artboard in your document. I’ve had up to 50 screens on one file with no discernible hit on performance and a relatively small file size. Keeping your entire project in one place is really easy.
The Artboard Tool (Shift-O)
There are many ways to create a new artboard that go beyond opening a new document. In the Tools panel is a dedicated tool called the Artboard tool (Shift-O). Activating the Artboard tool puts Illustrator into artboard editing mode. Once activated, the artboard has a bounding box, grab handles, crop marks, and a nameplate appearing with it in the workspace. You have a couple of options in this mode:
- Add a new artboard by clicking and dragging the cursor anywhere outside the current artboard. This allows you to create an artboard of any size. If you need to change the size, just click and drag any of the grab handles to adjust. This works for any artboard in the workspace.
To make the artboard larger than the current window, drag the cursor to the edge of the screen and it will automatically scroll to reveal more space.
- Delete an artboard by selecting it and pressing Delete. If you have multiple artboards to eradicate, pressing Delete multiple times will remove them in descending order until you have only one left.
Illustrator requires at least one artboard at all times. Additionally, deleting the artboard does not delete the art on it. You have to do that manually.
Using the Control Panel
To use the Control panel for artboard editing, do the following:
- Click the Artboard tool (Shift-O) to enter artboard editing mode.
- Create a new artboard by clicking the New icon (Figure 3.8).
This allows you to place a new artboard in the workspace that’s the same size and orientation as the currently selected artboard. After clicking the New icon, you’ll notice that you have a box that follows the cursor (Figure 3.9).
- Click anywhere in the workspace to place the new artboard in that spot.
Using the Artboards Panel
The Artboards panel (Figure 3.10) shows you a list of all artboards in your document. It also offers several tools for dealing with them.
If you don’t have the Artboards panel on the right of your screen, open it by choosing Window > Artboards.
- Drop a new artboard in the workspace by clicking the New Artboard icon at the bottom of the panel.
Illustrator will put this new artboard to the right of the current artboard. If you have several rows of artboards, it will always place the new artboard to the far right of the top row. This gets tricky as you start to create a lot of artboards, as Illustrator won’t let you place artboards outside the workspace.
- Delete the active artboard by clicking the Delete icon at the bottom of the panel.